WordPress SEO Advice

Register 365 Zeus Server Setup for WordPress Permalinks

I ran into an issue today, while optimising a WordPress site hosted on Register 365 Servers, which initially looked to be Apache, but on closer inspection was Zeus. Not to worry I thought, WordPress will sort all this out, it’s an Apache type web server, I am sure the .htaccess will work. Well it did not and after a long time searching and looking around I found this work around.

No .htaccess instead rewrite.script, the code for the rewite.script is below and you can also download a zipped copy of the file here;

>> Download Zeus Server Rewrite Script

Code for rewrite.script

# get the document root
map path into SCRATCH:DOCROOT from /
# initialize our variables

# see if theres any queries in our URL
match URL into $ with ^(.*)\?(.*)$
if matched then

# prepare to search for file, rewrite if its not found

# check to see if the file requested is an actual file or
# a directory with possibly an index.  don't rewrite if so
look for file at %{SCRATCH:REQUEST_FILENAME}
if not exists then
  look for dir at %{SCRATCH:REQUEST_FILENAME}
  if not exists then
    set URL = /index.php?q=%{SCRATCH:REQUEST_URI}

# if we made it here then its a file or dir and no rewrite
goto END

# append the query string if there was one originally
# the same as [QSA,L] for apache
match SCRATCH:ORIG_URL into % with \?(.*)$
if matched then
goto END

Setting up Pretty Links in WordPress

Upload your new rewite.script to the root of your directory, the root is the top level folder, in the case of this Register 365 Zeus setup it was a folder called web. Login to wordpress, navigate to Settings > Permalinks, check out the image below for configuration setup.

Permalink Settings

If you are having this issue or any other problems with your WordPress sites, drop me a line or use the form at the bottom of the site to submit your site or leave a comment.


  1. Barry
    July 11, 2011 at 12:39 pm

    Do you know if this works with other servers like Windows servers or is this a Zeus specific fix?

    • Niall Flynn
      July 12, 2011 at 10:31 am

      I have had similar problems with IIS, this is a Zeus specific fix, personally when I get this sort of messing going on I switch host. That was my advice to the client this time as the lack of mod rewrite was only the tip of the ice berg.

      What site are you trying this on?

  2. Terry Kendrick
    August 25, 2011 at 8:59 pm

    Hi – Thanks for this script works on the main site but then mess up the admin access to the website? Any ideas

    Regards Terry

    • Niall Flynn
      August 25, 2011 at 9:36 pm

      Not sure about the admin, feel free to email me hello@niallflynn.ie I normally recommend ppl to switch host in cases like this, google spiral hosting they are by far the best Irish host.

  3. Gareth
    October 28, 2011 at 4:46 pm

    Hi, Using WP 3.2.1 and can’t use pretty links: /%category%/%postname%/, even with the script. Any ideas? Getting the 404 not found error.

    • Niall Flynn
      October 28, 2011 at 4:58 pm

      I would need to see the exact ftp and wp setup, as I said before I would just switch host, these sorts of errors are usually just the tip of the iceberg ๐Ÿ™‚ drop me a mail at hello@niallflynn.ie I will do what I can to help.

    • Gareth
      October 28, 2011 at 5:08 pm

      It’s fine I fixed it. Had the site in a sub-directory so had to change the path in the script.

      • Niall Flynn
        October 28, 2011 at 5:09 pm

        Glad it helped ๐Ÿ™‚

  4. Chris
    March 9, 2012 at 1:43 am

    Thank you so much I was going in circles trying to make .htaccess work. Thanks for sharing the knowledge.

    • Niall Flynn
      March 14, 2012 at 10:53 am

      Glad to help, move host it’s the best option ๐Ÿ™‚

  5. Caroline
    March 14, 2012 at 8:52 am

    Thank you for this! Worked like a charm!!!!

    • Niall Flynn
      March 14, 2012 at 10:51 am

      Glad to help, to be honest this is just one of many problems you will have with these guys, check out Spiral Hosting, will save you loads of bother ๐Ÿ™‚

  6. Maria Robertson
    June 15, 2012 at 10:08 am

    I wished I had found this post days ago. I downloaded your script uploaded it to the root /web/ of my names.co.uk server and it worked. I am so grateful for this post, thank you for posting. I am so relieved, was considering moving my host and everything …

    • Niall Flynn
      June 15, 2012 at 10:53 am

      You should 100% change from Register 365, this is the tip of the iceberg and this fix is really a hack and not a total fix. I have had countless people see this page and use my fix. I would highly recommend http://www.spiralhosting.com/uk/hosting/shared for UK and Irish Hosting. cPanel setup, nice fast servers and oh yeah they help when things break ๐Ÿ™‚

      Not to be critical of Irish webhosting, but I have done the rounds and Spiral are the only company that give real support. Again I got no fees/reseller/affiliate from Spiral I do not work for them I just try to praise good service where I find it and these guys are the best.

  7. Shane
    July 2, 2012 at 6:41 pm

    Hi, I came across this fix. It is excellent. Thanks a million. The rewrite script that Reg365 give out themselves is actually a bit useless. It breaks the Search Widget capability of the site but with your one it works perfectly.

    I am with Reg365 currently but would love to know what I can expect in the future? Would you really advise leaving them? This little script doesn’t seem like a whole lot of work to upload to server and solve the problem. What other major problems have you encountered?

    • Niall Flynn
      July 2, 2012 at 6:45 pm

      Register 365 are no good for WordPress, this is the tip of the iceberg. Switch is my advice. Spiral always look after me and my clients, no complaints so far, check out http://www.spiralhosting.ie/

      • Shane
        July 2, 2012 at 7:34 pm

        Thanks for prompt reply. I know the Zeus server thing is annoying but could you explain what else they fail on regarding wordpress?

        • Niall Flynn
          July 2, 2012 at 7:37 pm

          I have had issues with;
          – Plugin installs
          – Server Speed
          – PHP based image resizers
          – Smush it integration

          That’s all I can think of right now, plus no cpanel ๐Ÿ™

          • Shane
            July 2, 2012 at 7:46 pm

            Fair enough. I haven’t really been with them for long enough to notice all this. I’ll keep it in mind and consider spiral for next project.

            Cheers for help.

          • Niall Flynn
            July 6, 2012 at 3:38 pm

            Glad to have helped ๐Ÿ™‚

  8. Confused
    August 18, 2012 at 6:29 pm

    Hi there;

    This is going to sound like a dumb question as Register 365 have been no help – but in the script you provide below do I just have to enter my URL where you have stated URL above? Is that all the editing I have to do?



  9. Confused
    August 18, 2012 at 6:35 pm

    It’s ok man – I sorted it out – your fix is perfect. Many thanks. Looks like I will have to start transferring my site.

  10. Niall Flynn
    August 19, 2012 at 2:41 pm

    I would switch host asap. This is as I have said the tip of the iceberg and as you pointed out Register 365 are not very helpful. Check out Spiral the guys are great to deal with.

    I also spotted that if you use the promo code twitter you get 10% off ๐Ÿ™‚

  11. Si
    August 24, 2012 at 11:10 am

    Hi Niall,

    Thank you so much for this I’ve been hours trying to figure this out on Reg 365, you’ve saved me an enormous amount of time. Just a question from a fairly novice wordpresser, my permalinks are including /wp/ after site name still. Do I need to move entire wordpress site into “web” for this to go? Will this screw my site up??


  12. Si
    August 24, 2012 at 11:17 am

    Oh never mind sorted it but thanks so much again! I’ll deffo be using that Spiral bunch after all of this!!

    • Niall Flynn
      August 24, 2012 at 11:21 am

      Glad to pass it on you can change that in the general settings ๐Ÿ™‚

  13. Olie
    August 30, 2012 at 2:36 pm

    Thanks so much for this rewrite. It worked on both my sites, when all other efforts failed. I use names.co.uk and they use Zeus servers

    Thanks Again

    • Niall Flynn
      August 31, 2012 at 12:30 pm

      Thanks Olie, I did not realise this was a Zeus server specific issue, might rewrite the post to cover this, give this some love and a share using my new social share widget to the right ๐Ÿ™‚

  14. Darragh Verschoyle
    August 31, 2012 at 12:35 pm

    Nice one mate. This might just resolve an issue I was having myself. Why can’t clients just listen when you say “don’t use Register 365”?

    • Niall Flynn
      August 31, 2012 at 12:40 pm

      I know they are pretty poor on all fronts, can’t say I have worked with them or Blacknight in any capacity other than to transfer away. I think the length of this string shows the pain trying to get WordPress install on Zeus ๐Ÿ™

  15. kenneth Topham
    September 26, 2012 at 11:16 am

    Hi Niall you seem pretty hot on WordPress I’m a photographer and wish to use this, so do I need hosting or can I leave it on WordPress and use a template?

  16. Niall Flynn
    September 26, 2012 at 11:48 am

    I would advise getting you own hosting, rather than using WordPress.com. Check out http://www.spiralhosting.co.uk and drop me a line if you want to get a new site up and running.

  17. kenneth Topham
    September 26, 2012 at 12:01 pm

    yeah I looked at that yesterday after reading your thread, I’m not sure where to start… I need a push in the right direction and I’ll be ok but atm I’m struggling with all the jargon and connecting the dots of wordpress, templates, and hosting any advice would be hugely appreciated!

  18. susie
    October 29, 2012 at 2:23 pm


    I was wondering if you could help i was working away with a WP template i downloaded and then i saw 404 error and now i am well and truly stuck i cant log into my WordPress admin and the site looks terrible (very incomplete).
    I host with Register 365 and did a one click instal so i didn’t upload it via filezilla or anything.



  19. Niall Flynn
    October 29, 2012 at 2:26 pm

    Hi Susie, I just sent you an email, this should be an easy fix ๐Ÿ™‚

  20. David Horn
    November 12, 2012 at 12:04 pm

    I was preparing for a long trip round google when I encountered this problem … thanks to your life saving tip, I’m back up and running in less than 10 minutes. Thank you so much!

  21. Niall Flynn
    November 12, 2012 at 12:12 pm

    Glad to have helped, you are going to have ‘fun’ on Zeus, my advice is to switch hosting less hassle all round.

  22. Gareth Loughran
    December 22, 2012 at 7:04 pm

    Thanks Niall, recently developed a photography clubs website and had to upgrade their hosting from legacy h-shere to register365’s new control panel and this took a bit of time to find my way around the new layout and then found out it was zeus as well. arghh. Your script worked 1st time so thanks. r365 does seem to be a bit of hassle. How is spiral hosting for multisite do you know?

    • Niall Flynn
      January 13, 2013 at 10:41 pm

      No problem, glad to help. Looks like you might be having a few issues with the site, drop me a line if you need any WordPress or SEO advice.

      For multisite I have not used spiral, but I would imagine all is fine and they help a lot with WordPress and any other issue, I would check them out, let them know I sent you ๐Ÿ™‚

  23. Ronan
    January 16, 2013 at 10:55 pm

    This was great help. It was driving me mad but now works perfectly thanks to your file ๐Ÿ™‚ Thanks so much for the help and more importantly the headache relief!



Leave a comment