• Hey all.

    I have been playing with permalinks for a few days now and still cannot get them to work. So none of my internal links work.

    https://www.jdubblog.com

    My host says everything is set up on the server ok and I at a total loss how to fix this.

    A few thoughts:

    Can I try and write my own rules in htaccess instead of relying on WordPRess’ internal system for doing this. I read that there was a place that would spit this code out for me???

    If this doesn’t work what are my options? Do any of the pros ever do custom work for stuff like this?

    JW

Viewing 9 replies - 1 through 9 (of 9 total)
  • 1. Never believe what a host says … ??
    2. You can, though I don’t see why that would work.
    2a. The “spitting” thing was written for an earlier version – and if your htaccess is writable, you don’t need it.
    3. There is a pro for everything but if the host is right, it should work without a problem as it does on thousands of hosts.
    4. Did you try different permalink structures?

    Thread Starter jwwceo

    (@jwwceo)

    I have tried making my own structure as well as using the 2 or 3 common entries on the permalinks page. From what I understand, any of those should work right???

    In terms of my hsot. It’s my buddy and he’s very competent. I’ve told him that 1. mod rewrite needs to be on 2. Allow overide is on for this directory and 3. ( I did this myself through FTP) htaccess needs to be writeable. Is there anything else the server needs???

    Is there any way to test these settings through a browser or simple php script?

    This is super frustrating….

    The 3 things you listed should be enough.

    Those “pre-set” structures on the Permalinks page should work, yes.

    I have no idea how to test them… I am not a server wizard, just a user.

    After setting the permalinks in the admin, does the WP write to the .htaccess? You can check if the rules are written into it (download, view..)

    Thread Starter jwwceo

    (@jwwceo)

    My htaccess is the same after I change the permalinks structure…

    it looks like this both times…

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    The permission is set to 666 when I look at that file through FTP. htaccess is within the root directory…

    So would it work if I just wrote my own rules in htaccess??? It wouldn’t auto-update but that’s ok with me for now… I know it’s a hack, but I just want this to be finished…

    JW

    All the htaccess files look the same – since WP 2.x
    (the rest is handled internally)

    What can I say? Write your own rules… Let’s hope!

    You also need FollowSymLinks for your Directory:

    <DocumentRoot “/Users/Sites/uberdose.com”
    <Directory “/Users/Sites/”>
    Options -Indexes MultiViews FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
    </Directory>

    You could also easily test your .htaccess:

    – At the top of your wordpress .htaccess add:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule test https://www.microsoft.com [L,R=301]
    </IfModule>

    If you now access /test you should be redirected to microsoft.com. If not, .htaccess doesn’t work at all.

    Hey, who’s the host?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Still can’t get Permalinks to work?’ is closed to new replies.