Post by PT StompS » Mon Jul 04, 2011 2:12 pm

Hi, the url to 'About us' page does not seem to work. When I click on 'About us' in the footer the url link is 'mysite/shop/about_us' However the url should be 'mysite/shop/?route=information/information&information_id=4' The About us page is present on my server just the wrong url link.

Not sure if I have changed anything in the control panel of opencart that could cause this problem, or could I?
What file do I edit to change the url to the correct address?

Clean install - opencart v1.5.0.5 - My site


User avatar
Newbie

Posts

Joined
Sat Jul 02, 2011 2:17 pm

Post by bobwhite » Tue Apr 03, 2012 10:56 am

I have the same problem. It is working fine on the local host, but when I upload opencart to the host, I am getting same problem. Can anybody point me where to look.
Thanks,
Bob

User avatar
New member

Posts

Joined
Thu Jan 26, 2012 8:20 am

Post by fido-x » Tue Apr 03, 2012 11:09 am

@PT StompS
Have a look in your .htaccess file and change the "RewriteBase" to:

Code: Select all

RewriteBase /shop/
@bobwhite
You've probably got a similar issue.

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by bobwhite » Tue Apr 03, 2012 12:05 pm

fido-x wrote:@PT StompS
Have a look in your .htaccess file and change the "RewriteBase" to:

Code: Select all

RewriteBase /shop/
@bobwhite
You've probably got a similar issue.
Hi fido-x,
I just found topic http://forum.opencart.com/viewtopic.php?t=38717 and this is actually me issue. My .htaccess file was renamed during migration. Renamed it back and problem fixed.
Thanks for your help,
Bob

User avatar
New member

Posts

Joined
Thu Jan 26, 2012 8:20 am

Post by Radyation » Fri Apr 19, 2013 3:07 pm

I have the same problem here. However, I found out that it was replacing the url with the SEO keyword value - catalog/category or product/data tab. All the categories and products that used to have SEO keyword were displayed wrong - mydomain.com/SEO_keyword. So, I got rid of the keywords and it seems to be OK now. Still, it is not a solution but a temporary workaround.

My .htaccess is modified since I need to host a file, totally irrelevant to Open Cart, that requires SSL. I have put the following at the bottom of my .htaccess:

RewriteEngine On
RewriteCond %{SERVER_PORT} !port number
RewriteRule (.*) https://mydomain.com/whatever [R]

Note that this is at the bottom, the rest of the file has never been changed.

@ fido-x
I tried your suggestion but no luck

http://myworldhandbook.com
http://bestseooffer.net
http://thelangpack.com


User avatar
Newbie

Posts

Joined
Wed Apr 17, 2013 11:48 pm
Who is online

Users browsing this forum: No registered users and 19 guests