• Hi,

    I just ran into an error when I moved my wordpress site from a directory to the root. Transfer went fine, all other pages, blog, links work.

    One page however, named ‘Templates’ returns a 403 error when clicked (curiously the link does add a ‘/’ at the end of url, none of the other pages or posts does this occur). I tried deleting it, re-adding, checking the permissions, editing the .htaccess file and upgrading wordpress and still get the 403 error.

    The only thing I can think is previous to the site move, I had a tag that I removed also called ‘Templates’ that might be causing it, but I can’t find a reference to it in the admin or in the sql database.

    Where would an old reference to a tag exist or how can I update the site to fix the 403? I currently re-added the page as ‘Template’ (no s) and it works.

    Any suggestions?

Viewing 6 replies - 1 through 6 (of 6 total)
  • A link to the page in question would allow for a more definitive answer.

    Thread Starter austinbedell

    (@austinbedell)

    Thanks responding.

    I edited the page through the admin and changed the name to ‘Template’ but oddly the old link still throws the 403 error, I just can’t figure out where it’s coming from:

    https://www.greenroomeco.com/templates/

    What are the permissions on the /templates/ path ?

    https://www.greenroomeco.com/Templates gives a 404

    https://www.greenroomeco.com/templates gives a 403

    The server will only return a 403 is the permissions are not okay. If there is a path /templates/ make sure it is accessible to the public. If /templates is a ‘page’ then make sure the permissions are such for public to view.

    Also check the .htacess of course.

    Thread Starter austinbedell

    (@austinbedell)

    Thanks Pete,

    ‘templates’ was a wordpress page (the capped ‘T’ was my mistake, we are only talking about one page), I checked the .php template that it was using and the permissions are 755.

    ‘templates’ doesn’t exist anymore though, I removed it and created a temporary page with a different name, yet it’s still returning a 403 error?

    I can’t figure out where the error is coming from so that I can resume using ‘templates’ as a page name.

    Your web server logs will tell you what is causing the 403. Are you able to view them ?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘403 Error, Can't find cause’ is closed to new replies.