• Hello

    I have uploaded my site and gone for a custom permalink option but get the 404 code returned. default works fine but any change from that won’t work.

    Here’s what I have tried so far:

    Looking at the forums there are many many people with the same problem but no solution. I have deleted, edited, reuploaded and remanmed htaccess file but nothing seems to work with that. That seems to be most posts point of issue.

    I have checked the database and it says my permanlink is coded correctly :
    permalink_structure /%category%/%postname%/ yes .
    but for some reason it always returns 404 forbidden.

    The custom permalinks work off line with my xampp set up which I used to test the site fully before uploading and it also works in the same setup on my second site https://www.shapebubble.com. some forum posts mentioned apache being on, how i check its on on my problem site is is that only for offline

    I have left the site broken so you can check it, https://www.venueshire.co.uk please can someone help as after search all the net I simply can’t find the answer

    many thanks

    Adam

Viewing 6 replies - 1 through 6 (of 6 total)
  • .htaccess is an Apache configuration file so, yes, you need to be using the Apache web server for this to work (which you are). You also need to have mod_rewrite installed and enabled and you need to have AllowOverride set to ‘All’ in Apache’s httpd.conf file. I can’t tell if the second and third conditions are met on your server.

    Thread Starter shapebubble

    (@shapebubble)

    hi thanks for checking it out.

    I have tried to look into what you have suggested but i am not that knowledgeable with the depths of coding hence why i have become completely unstuck with this problem.

    I have looked with my ftp program and can’t see any httpd.conf file. In my offline set up that file is situated outside of all the file I have connetced to wordpress. location is K:\My Pictures\xampp\apache\conf and my offline wordpress site is set up on K:\My Pictures\xampp\htdocs. so i have no idea where to find that file online to check its status.

    also i have tried to see if i can work out if mod_rewirte is on but can’t. i followed the instruction of this link https://www.wallpaperama.com/forums/how-to-test-check-if-mod-rewrite-is-enabled-t40.html and got returned exactly the same problem is i do with all my link. 403 FORBIDDEN

    if it helps this is my htaccess file
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    as it says rewrite engine on i’m guess that means mod rewrite is on

    where do i find the files i need to check?

    thanks

    Adam

    Thread Starter shapebubble

    (@shapebubble)

    if it helps i just tried deleting htaccess and rewrite.php and got exactly the same error as when they were there.

    found this https://httpd.apache.org/docs/1.3/misc/FAQ.html#malfiles but all i have in my ftp is .gnome2 folder which is empty and public_html which is where the contents of the unzipped wordpress files sits. i can’t see how i can access httpd.conf file

    thanks

    adam

    your web host controls the httpd.conf file
    take your problem to them and I’m sure they will work it out for you

    What Samuel B said. ??

    Unless you have significant administrative privileges on the web server– like, for example, if you have a VPS or a dedicated server– you won’t be able to access that file. Talk to your host.

    Thread Starter shapebubble

    (@shapebubble)

    Cheers guys,

    I’ve contacted the hosts and hopefully they can sort it out now.

    really appreciate the help :), thanks

    Adam

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘permalink broken’ is closed to new replies.