• I am trying to set up funnel kit go. I wants me to change my permalink setting from plain name to post name. I have tried to many times and lose contact with my pages when I do. How do. Make the change and still have the site work?

    Mike Highes
    https://Www.mikealrhughes.com

Viewing 15 replies - 1 through 15 (of 16 total)
  • mod_rewrite needs to be enabled for your site in order for pretty permalinks to work. You appear to be using a Ubuntu server running Apache, so it shouldn’t too much of an issue. You just need to make sure it’s working properly.

    When you change the permalinks to /%postname%/ and hit the save button, are you getting any messages at the bottom of your permalinks setting page that says something like “If .htaccess were writable”, or “Place this code in your .htaccess file” – or do the changes appear to be successful without any warning dialog or code snippets?

    Thread Starter macmikeal

    (@macmikeal)

    No I don’t get any message when I change from plain to post name. How do I enable mod_rewrite. This is my own Webserver.

    The most common method seems to be..

    sudo a2enmod rewrite

    Then you need to add (at least) the “AllowOverride All” directive to your virtual host configuration file. Restart Apache when you’re done.

    sudo service apache2 restart

    Thread Starter macmikeal

    (@macmikeal)

    I did all of that and that still didn’t resolve the issue. The virtual Hosting file had allowOverwrite none. I changed it to all restarted Apache2 and the same issue. Now what?

    A) Make sure that mod_rewrite is loaded.

    apache2ctl -M

    mod_rewrite (or rewrite_module) should appear in the list under “Loaded Modules”.

    B) Your virtual host config should include something similar to this ( a little research on how to enable mod_rewrite for your particular version of Ubuntu will probably yield a ton of tutorials)

    <Directory /var/www/html>
                    Options Indexes FollowSymLinks
                    AllowOverride All
                    Order allow,deny
                    allow from all
     </Directory>

    C) if all else fails, you can probably enable it globally if you want to from /etc/apache2/apache2.conf

    Thread Starter macmikeal

    (@macmikeal)

    Ok when I try to go into apache2.conf I get a permission deny. When I try to service apache2 restart I get a fail message. I shut down and restarted. Tried to make the permalink change it wouldn’t work.

    Thread Starter macmikeal

    (@macmikeal)

    When I set to post name and try to go to another page I get requested URL not found on server.

    When I set to post name and try to go to another page I get requested URL not found on server.

    The 404 not found error is because pretty permailnks (mod_rewrite) isn’t working for your site config.

    A) Make sure that mod_rewrite is loaded.

    apache2ctl -M

    mod_rewrite (or rewrite_module) should appear in the list under “Loaded Modules”.

    yes? no?

    When I try to service apache2 restart I get a fail message.

    You can’t restart Apache as a normal user. Use the “sudo” command. The same goes for editing /etc/apache2/apache2.conf , but save that as a last resort.

    If the rewrite module is loading, I suspect you’ve just made an error in your virtual host directives.

    Thread Starter macmikeal

    (@macmikeal)

    I. Know to do sudo I tried the apache2ctrl-m command and got command not found.

    Thread Starter macmikeal

    (@macmikeal)

    Mod_rewrite doesn’t appear in the apache2ctl -M list.

    Thread Starter macmikeal

    (@macmikeal)

    Ran the command sudo a2enmod rewrite
    I get message rewrite already enabled

    That’s a good sign. I’d still like to verify it’s actually being loaded into your configuration before spending time on anything else.

    Mod_rewrite doesn’t appear in the apache2ctl -M list.

    How about the phrase “rewrite_module” then. As I mentioned earlier, it may say rewrite_module, rather than mod_rewrite.

    Does that appear anywhere under the “Loaded Modules:” heading when you run apache2ctl -M ?

    And are you familiar with how to use a phpinfo page to view your server configuration info?

    Thread Starter macmikeal

    (@macmikeal)

    I see a line that says rewrite_module shared

    Not sure on the phpinfo page

    That’s good. It appears that mod_rewrite is loading, and should be available. I suspect the issue is with your virtual host configuration.

    I guess I’ll assume you’re using some recent version of Ubuntu 14.04 LTS.

    Tackle your virtual host config file next. Make sure the directives are properly defined. Here just one tutorial offered by DigitalOcean – but there are plenty out there, to be had just by searching..

    You may want to start reviewing somewhere around step 3.

    https://www.digitalocean.com/community/tutorials/how-to-set-up-mod_rewrite-for-apache-on-ubuntu-14-04

    [edit] some info that might come in handy at some point. how to use phpinfo – Link goes to Google

    The easy way u can using permalink format like diz :
    /%postname%
    this permalink good for seo too..Cheerz
    pakar seo

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Web site will not work after try and change permalink setting’ is closed to new replies.