Post by chasman » Wed Sep 28, 2022 11:43 am

SEO URLs are redirecting back to the home page.
It shows the SEO path in the URL address bar but it shows the home page.
Any help on this would be appreciated. Thanks.
ver. 2.3.0.2

Newbie

Posts

Joined
Thu Mar 24, 2022 4:45 am

Post by ADD Creative » Wed Sep 28, 2022 6:55 pm

Anything changed with your hosting or site just before it started happening? Check your htaccess file for changes. Also check both the PHP and OpenCart error logs.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by chasman » Fri Sep 30, 2022 12:53 am

Thank you for your response.
Yes, as a matter of fact my host changed my site location. It was /home1/... now it's /home4/...
Also, I'm not sure what exactly to check in the .htaccess file for changes. There are these files in the root directory:
.htaccess
.htaccess.phpupgrader.1825a664
.htaccess.phpupgrader.d1744706
.htaccess.phpupgrader.initial
.htaccess9

Also, I added an SEO to one of my products and verified that it reroutes back to the home page and then check both the PHP and OpenCart error logs and nothing got added.
Thank you

Newbie

Posts

Joined
Thu Mar 24, 2022 4:45 am

Post by Cue4cheap » Fri Sep 30, 2022 1:22 am

the .htacces file have the rules in them for SEO?
If not look at the other .htaccessblahblahblah files and see if they are in there.
A lot of hosts will do that to your .htaccess (archive it under a different name) and put in a generic htaccess when they update ya.
Mike

cue4cheap not cheap quality


Active Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by chasman » Fri Sep 30, 2022 2:50 am

Further investigation shows the .htaccess file does not contain any SEO URL rewrite information while the other (archived) .htaccess files do.
The other files all appear to contain the same information. Can I rename my current .htaccess file to .htaccess.bak and rename one of the other files to .htaccess ?
Thank you for your help

Newbie

Posts

Joined
Thu Mar 24, 2022 4:45 am

Post by ADD Creative » Fri Sep 30, 2022 3:52 am

As long as you do a backup you can always restore if something goes wrong. Maybe ask your host exactly what they have done.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by JNeuhoff » Fri Sep 30, 2022 6:04 pm

Also make sure that your .htaccess has the correct RewriteBase entry in it.

Override Engine * Integrated VQMod * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Rich Snippets * Google Tag Manager * Export/Import Tool * SpamBot Buster * Survey Plus


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am

Who is online

Users browsing this forum: No registered users and 25 guests