URL alias is so important for SEO, but Opencart 0.7.7 has a problem in this feature, all URL alias link to homepage.
All non exist pages redirected to homepage automatically. Maybe the URL alias can be found and treated as non exist, then redirect to home page automatically.
Anyone have a solution for this problem?
Same problem for me!
Many people try hard .htaccess.
Mybe somebody opencart 's staff can post the code here.
Hey Boys Let's go help us !!
Many people try hard .htaccess.
Mybe somebody opencart 's staff can post the code here.
Hey Boys Let's go help us !!
this is not a fix, it's just a workaround, not even e pretty one.madaha wrote: problem sloved. See here: http://forum.opencart.com/index.php/topic,733.0.html
www.example.com/product/product_id/2323 - it is not even close to SEO friendly, just a "human readable" URL, the default system would be better when will work
Daniel, this is my print_r($_SERVER) result. Hope the new 0.8 version fix this bug.
Code: Select all
Array
(
[REDIRECT_STATUS] => 200
[HTTP_HOST] => localhost
[HTTP_USER_AGENT] => Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
[HTTP_ACCEPT] => text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
[HTTP_ACCEPT_LANGUAGE] => en-us,en;q=0.5
[HTTP_ACCEPT_ENCODING] => gzip,deflate
[HTTP_ACCEPT_CHARSET] => ISO-8859-1,utf-8;q=0.7,*;q=0.7
[HTTP_KEEP_ALIVE] => 300
[HTTP_CONNECTION] => keep-alive
[HTTP_REFERER] => http://localhost/oc/test-category
[HTTP_COOKIE] => PHPSESSID=48da531643f65086fb92a21b3600102d; test=accept
[PATH] => C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSSystem32Wbem;C:Program FilesIntelDMIX;C:Program FilesQuickTimeQTSystem
[SystemRoot] => C:WINDOWS
[COMSPEC] => C:WINDOWSsystem32cmd.exe
[PATHEXT] => .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
[WINDIR] => C:WINDOWS
[SERVER_SIGNATURE] =>
Apache/2.2.4 (Win32) PHP/5.2.3 Server at localhost Port 80
[SERVER_SOFTWARE] => Apache/2.2.4 (Win32) PHP/5.2.3
[SERVER_NAME] => localhost
[SERVER_ADDR] => 127.0.0.1
[SERVER_PORT] => 80
[REMOTE_ADDR] => 127.0.0.1
[DOCUMENT_ROOT] => C:/Documents and Settings/bogdan.iacob/My Documents/Server
[SERVER_ADMIN] => bogdan.iacob@ringier.ro
[SCRIPT_FILENAME] => C:/Documents and Settings/bogdan.iacob/My Documents/Server/oc/index.php
[REMOTE_PORT] => 2485
[REDIRECT_URL] => /oc/test-category
[GATEWAY_INTERFACE] => CGI/1.1
[SERVER_PROTOCOL] => HTTP/1.1
[REQUEST_METHOD] => GET
[QUERY_STRING] =>
[REQUEST_URI] => /oc/test-category
[SCRIPT_NAME] => /oc/index.php
[PHP_SELF] => /oc/index.php
[REQUEST_TIME] => 1202804771
[argv] => Array
(
)
[argc] => 0
)
Who is online
Users browsing this forum: No registered users and 11 guests