ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Links not working until I clear the cache of browser

February 07, 2012 6:19am

Subscribe [4]
  • #1 / Feb 07, 2012 6:19am

    trenkwill

    47 posts

    Hi there !

    Like said in the title, my links are not working until I clear the cache of browser.

    Any link I click on redirects me to the homepage. If I copy paste the url of any link in the browser I’m also redirected to the homepage.

    When you clear the cache of the browser, it works. So I retested in Chromium and still the same problem.

    Other people are having this issue.

    Where could the problem come from ?

    Thanks for your help

  • #2 / Feb 07, 2012 7:36am

    mark186282

    290 posts

    what method are you using to create a link?

    Can you provide an example of one or two of your offending links?  (you can sanitize the URL of your site, just looking for your method and example)

  • #3 / Feb 07, 2012 7:41am

    trenkwill

    47 posts

    <a href="http://{site_url}site/press">Press</a>

    Then I get example.com/site/press in the url but it reloads the same page

  • #4 / Feb 07, 2012 7:41am

    Studio Meta

    105 posts

    Also, have you enabled GZIP output ?

  • #5 / Feb 07, 2012 7:42am

    trenkwill

    47 posts

    I don’t think so. Where do you enable it ?

  • #6 / Feb 07, 2012 7:43am

    Studio Meta

    105 posts

    Try instead

    <a href="http://{path=site/press}">Press</a>

    Have you removed ‘index.php’ in your General Settings ? Are you using .htaccess and mod_rewrite ?

  • #7 / Feb 07, 2012 7:55am

    trenkwill

    47 posts

    Ok I’ll try that

    Yes and yes.

  • #8 / Feb 07, 2012 8:19am

    trenkwill

    47 posts

    I got rid of the URL rewriting and now it works 😊

    Thanks !

  • #9 / Feb 08, 2012 1:09pm

    Shane Eckert

    7174 posts

    Hello trenkwill,

    I am glad to hear Studio Meta was able to help you get this sorted out.

    Thank you for using the ExpressionEngine forums!

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases