Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Trailing slash home page

Status Resolved
Add-on / Version Publisher 2.9.0
Severity
EE Version 4.3.4

Cameron Ross

Sep 21, 2018

Description:
Hi Brian
On our website we have set the option to add the language to the home
EG: http://www.mysite.com/en

I am also using navee for my top navigation menu

The problem is when using navee it does’t add the /en when we add manual links top out top menu sub link when on the home page

To replicate
Go to the homepage of the website this will be the url http://www.mysite.com/en
Select an item from the sub menu EG: Healthy Living -> Healthy eating -> Diet
My manual link in navee is this ./healthy-living/category/healthy-eating
The links when you rollover it is http://www.mysite.com/healthy-living/category/healthy-eating
its missing the /en/ segment which is causing issue fr our SEO
But if our home page has a trailing slash http://www.mysite.com/en thenm we have the correct link
http://www.mysite.com/en/healthy-living/category/healthy-eating
if i go to an inner page and then click back to the home page our url is http://www.mysite.com/en/
We have the trailing slash and our navigation loinks work correctly
The do not work when we go to the site for the first time as we have no trailing slash
This only happens when i use the manual link option in navee. Guided is fine

Maybe we can add a trailing slash to the home page or do you have any suggestions?

Thanks


 

#1

BoldMinded (Brian)

Why do you start the links with ./? why not just /?

#2

BoldMinded (Brian)

Comment has been marked private.

#3

Cameron Ross

if i use /? it never adds the /en/ or language to my urls

so it would be www.mysite.com/article1/

but with ./?

it will be www.mysite.com/en/about-us/

Thanks

I will try try the new build

Login to reply