Additional / in all URLs
- smoe
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
17 years 5 months ago #774
by smoe
Hello,
I am in the process of migrating from Open SEF to SEF Advance. I am testing on my local server to ensure that the generated URLs are the same prior to going live. When I install SEF Advance with the supplied .htaccess file, I get URLs such as:
http://localhost/pmn//playa-del-carmen-tours/
when clicking on menu items (these items are blogcategory menu items). Note the additional / after the pmn.
The following debug information is also generated:
Array
(
[mosvisitor] => 1
[bb-fontstyle] => f-smaller
[2a92fbec41de02cdc3501c558a1726f7] => -
[eb8fc200b03d50ebec7313658c4d26fd] => b89fcdfde46cc4f74c4036289ab43634
[PHPSESSID] => 68b143b58acc0544e72b902a088c2bff
[com_jw_fpss] => true
[1b1b919ec9f79452300ff158d9c7a9b5] => 9f49c75007ea2c9b10dc47d95b2265a8
[option] => com_frontpage
[Itemid] => 1
)
index.php?option=com_frontpage&Itemid=1
I have tried changing settings in the backend and checked my .htaccess, but haven't found anything that works as of yet.
Any ideas?
Thanks!
I am in the process of migrating from Open SEF to SEF Advance. I am testing on my local server to ensure that the generated URLs are the same prior to going live. When I install SEF Advance with the supplied .htaccess file, I get URLs such as:
http://localhost/pmn//playa-del-carmen-tours/
when clicking on menu items (these items are blogcategory menu items). Note the additional / after the pmn.
The following debug information is also generated:
Array
(
[mosvisitor] => 1
[bb-fontstyle] => f-smaller
[2a92fbec41de02cdc3501c558a1726f7] => -
[eb8fc200b03d50ebec7313658c4d26fd] => b89fcdfde46cc4f74c4036289ab43634
[PHPSESSID] => 68b143b58acc0544e72b902a088c2bff
[com_jw_fpss] => true
[1b1b919ec9f79452300ff158d9c7a9b5] => 9f49c75007ea2c9b10dc47d95b2265a8
[option] => com_frontpage
[Itemid] => 1
)
index.php?option=com_frontpage&Itemid=1
I have tried changing settings in the backend and checked my .htaccess, but haven't found anything that works as of yet.
Any ideas?
Thanks!
Please Log in or Create an account to join the conversation.
- Saka
- Offline
- Administrator
17 years 5 months ago #776
by Saka
Emir Sakic
www.sakic.net
Make sure you don't have any trailing slash in variables in configuration.php, especially in live_site variable.
It should be:
$mosConfig_live_site = 'http://localhost/pmn';
and NOT:
$mosConfig_live_site = 'http://localhost/pmn/';
It should be:
$mosConfig_live_site = 'http://localhost/pmn';
and NOT:
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.
- smoe
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
17 years 5 months ago #789
by smoe
There were no trailing slashes in the configuration.php file. I thought it had something to do with the test server (I was using Ravenswood Joomla Server) so I tested it on my live site and had the same result. In both cases, there were no trailing / in:
$mosConfig_live_site
or
$mosConfig_absolute_path
The .htaccess file is set with:
RewriteBase /
Any other suggestions?
Thanks
$mosConfig_live_site
or
$mosConfig_absolute_path
The .htaccess file is set with:
RewriteBase /
Any other suggestions?
Thanks
Please Log in or Create an account to join the conversation.
- Saka
- Offline
- Administrator
17 years 5 months ago #791
by Saka
Emir Sakic
www.sakic.net
It's also possible that you USE short URLs and haven't added all title aliases.
In that case please turn on long URLs in SEF Advance configuration or enter title aliases to all sections and categories.
In that case please turn on long URLs in SEF Advance configuration or enter title aliases to all sections and categories.
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.