Permalinks to Working for all Links
-
Hello All,
I have been trying to get Permalinks working on our WordPress for a week or so now and I have not been able to get it fully implemented since…
I have read through a dozen or so posts on this WordPress forum as well as the “Using Permalinks: WordPress Codex” and “htaccess: WordPress Codex” pages, but none of them have been able to solve this issue. Maybe I am not understanding the Permalinks settings page and what has to go in the textboxes, can you ONLY include the structure tags, like %year%, %month%, %post_id%, etc…?
This WordPress installation is installed on a Linux VM which is hosted and fully controlled by me. Using the following:
Apache2 v2.2.2-59.1 *The mod_rewrite module is enabled for Apache2 MySQL 5.6.28 PHP v5.6.9 OS = SLES 11 SP3
Also, I have configured the WordPress Directory in /etc/apache2/default-server.conf Configured like so:
DocumentRoot "/srv/www/wordpress" <Directory /> Options FollowSymLinks AllowOverride All </Directory> <Directory "/srv/www/wordpress"> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny Allow from all </Directory>
Originally I did not have the <Directory /> section, but after looking at .htaccess it seemed like I needed it since it used just “/” (*i.e. root) as the base, and “/index.php”. And ever since I added that section to default-server.conf, SOME of the permalinks seem to be working, but definitely not all of them…
In WordPress >> Dashboard >> Settings >> Permalinks, I tried the following:
1st Try:Custom Structure = /%postname%/
Category Base = courses2nd try and Current Settings:
*Enabled the “Post name” Option
*The next 2 options stayed the same:
Custom Structure = /%postname%/
Category Base = coursesMy .htaccess File currently contains the following:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
Can anyone tell if there is something I am doing wrong?
I have the LearnPress Plugin installed and when I try to navigate to one of the courses by going to: Dashboard >> LearnPress >> Courses >> My Test Course >> View… This takes me to –> “https://myWordpress/courses/my-test-course”, but I get the “Oops! That page can’t be found” error.
However, if I go to “https://myWordpress/courses/”, it takes me to a page that lists all the current courses, seemingly as it’s supposed to.
Can anyone tell me if I am missing something here?
Any thoughts or suggestions would be GREATLY appreciated!Thanks in Advance,
Matt
- The topic ‘Permalinks to Working for all Links’ is closed to new replies.