Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Steve

    (@stif)

    I seem to have fixed my problem.

    Firstly I removed the test site directory (/wp).
    Secondly made a txt file on my desktop called rewrite.script.txt and pasted the code from: https://www.adamchristie.co.uk/wordpress/seo-friendly-wordpress-urls-on-namesco-zeus-servers/

    into it, and put it in the root folder of my site. (in my case the Web folder)
    I then copied my custom theme to my desktop and deleted it from my web folder.
    Then renamed the rewrite.script.txt in my web folder to just rewrite.script, re-uploaded my theme and what do you know, no more index.php!!

    I have no idea why but when I made the rewrite.script file on my desktop using dreamweaver and uploaded it, it wouldn’t work. But making a rewrite.script.txt uploading it and renaming it to rewrite.script worked like a treat!

    I’m not sure which of the above steps solved my issue or if it was a combination of all of them.

    Anyway hope this helps anyone else who has this problem.

    Hey Steve – big thanks for posting up this solution. Irritatingly had a couple of clients who had purchased hosting with Namesco and I’ve been banging my head against a brick wall trying to get rewrites to work on Zeus.

    Can’t think of a good reason why the .txt rename solution you posted should work, but work it does! Thanks for sharing

    Had the same problem and indeed it was solved by the suggested script. Thanks!

    However, I did not have to delete my theme. Just uploaded the rewrite.script and then set the permalinks custom structure to: /%year%/%monthnum%/%day%/%postname%/

    I am currently running two installs of wordpress with Namesco (Zeus). One in my root directory and one in /blog. This works… however, I need a rewrite.script so both sites can have ‘pretty permalinks’ .

    I can get this working for my root site and my subdirectory homepage loads fine but then if you try to follow any of the posts it seems to redirect back to my root site.

    Please could somebody help and tell what rewrite.script I’d need to have both of these working. Do I need two rewrite.scripts in each directory?

    I have looked over many a forum now but can’t find anything about running two wordpress installs (with pretty permalinks) in this way on a zeus server.

    Any advice would be greatly appreciated!

    Thread Starter Steve

    (@stif)

    Hi Calum,

    Is it necessary for you to have two installs of wordpress? Could you not do something like create a /blog page and set this to show your posts? I think this could work. So your blog posts would look like:
    https://www.yoursite.com/blog/post-name

    I haven’t come across a scenario like yours before.
    I would try the script suggested here

    https://www.netregistry.com.au/support/articles/wordpress-seo-friendly-permalinks#subdirectory

    and look under the “Zeus rewrite for when WordPress is installed in subdirectory

    I would remove any other scripts from both the main directory and the sub directory and place this new script in your sub directory to see if your subdirectory links work first.
    If this works check your root directory links to see if they follow the script. If the main root links don’t work, I would try adding the other script file to the root directory to see if that fixes things. (so one script in the root and one in the sub)

    Its a bit trail and error but its all I can think of at the moment.

    again before I would go any further I would make sure that I definitely need 2 installs of wordpress.
    I think things would be a lot handier if you had just the one.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Remove /Index.php from URLs – Zeus server’ is closed to new replies.