Be sure to checkout our newest add-on, Speedy — Advanced Caching for ExpressionEngine.

Compatibility updates:

  • Publisher is EE5 compatible, but it does not currently support the Fluid field (it's in the works).

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)

Sep 21, 2018

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

#2

BoldMinded (Brian)

Sep 21, 2018

Comment has been marked private.

#3

Cameron Ross

Sep 21, 2018

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

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

but with ./?

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

Thanks

I will try try the new build

Login to reply

Contact

For add-on support, please use the Support section. General inquries and pre-sale questions can be sent to support@boldminded.com.