Jump to content

Friendly URLs stopped working after accidental file deletion


Recommended Posts

Helo everybody;

 

This is my first post here so, again, helo everybody!

 

I have a rare case - my shop's friendly urls stooped working after accidental file deletion via FTP.

 

A whole story looks like this:

- there was PS1441 installed and autoupgraded to PS149

- all worked fine (including friendly urls)

- I have by mistake clicked delete on shop's folder on my hosted server

- some files were deleted before I clicked cancel

 

What I did after that is:

- compared installation package folders of PS149 with folders on the server

- uploaded missing folders/files

- regererated htaccess file many times, turned off cache, etc.

 

After all of that friendly urls do not work at all - neither for images, nor for categories or cms links. If I turn friendly urls off the shop works fine.

 

So the question is: is there any way to fix it or the only solution is to reinstall PS?

Any ideas are welcome.

 

Cheers;

makii

Link to comment
Share on other sites

Sorry - I missed that. Try rolling back from the autoupgrade to restore the old 1441 installation and make sure it works. Then do the autoupgrade again. Backup the 1490 database first so if there were any orders or database changes, you can use it to overwrite the database from autoupgrade. If there were no new additions, don't worry about that.

Link to comment
Share on other sites

Hi Rhapsody;

 

I have a very bad experience on running processes that require a lot of server's power and time so I didn;t try it.

 

A good thing is that I have resolved the issue with a help of one buddy which is a developer/programmer.

 

Here is a description:

We made a lot of tests of htaccess file an mod-rewitre. A conclusion was: htaccess file is not processed properely. Then we used is htaccess tester which surprisingly showed up an error at this rule: RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]. The directive L at the end required authorisation which did not take place to the htaccess processing was stopping.

After removing L directive all worked like a charm.

 

We still do not know why the directive is there while htaccess is generated by PS149. I do not use SSL.

 

Conclusion: the htaccess tester mentioned above is great and helped as a lot because my hosting provider does not allow to log rewrite rules.

 

Hope this can help others if they have friendly url problem.

 

Cheers;

Makii

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...