Join the community today
Become a Member

Wordpress Cache enabler double slash in url bug?

Discussion in 'Blogs & CMS usage' started by dorobo, Nov 5, 2016.

  1. dorobo

    dorobo Active Member

    420
    104
    43
    Jun 6, 2014
    Ratings:
    +161
    Local Time:
    12:09 PM
    latest
    latest
    Anyone with wordpress blog running cache enabler set up by Centminmod

    open a private window or incognito window and try putting an extra forward slash after the domain name

    Code (Text):
    e.g. domain.com//hello-world


    and see if instead of going into the post, it goes into the homepage

    like

    domain.com//hello-world looks like domain.com
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,138
    6,778
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,128
    Local Time:
    2:09 PM
    Nginx 1.13.x
    MariaDB 5.5
    What's output for these commands changing /home/nginx/domains/domain.com/public/ to the path to where you installed wordpress i.e. if domain.com/blog then it would be /home/nginx/domains/domain.com/public/blog
    Code (Text):
    cd /home/nginx/domains/domain.com/public/
    wp option get siteurl --allow-root
    wp option get home --allow-root