Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
404 message when trying to access specific forum page
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 20, 2012 - 10:08 pm

confused... if you have apache and mod_rewrite active, you will NOT get index.php in your urls... when I look at your site, I still see index.php... there is no plugin or other work needed to remove them...

Avatar
Brad Siegfried
Member
sp_UserOfflineSmall Offline
Oct 20, 2012 - 10:47 pm

Hi Steve,

I just heard back from the hosting provider.  I had asked them for help with this issue.  Here's what they said:

===

Its seems an issue with the plugin Simple:Press. It won't work with current permlink structure. I have now changed to default permlink structure from wordpress admin and now the forum is working from url http://wilmington.crimeboard.o.....age_id=253. Please check and confirm.

The modrewrite is already enabled with your server. I can't find any issue with your server now.
So please contact wordpress support team simple press and check the issue with them.
===

After I received that, I did check and can confirm that the forum is accessible with the default permalink structure.  That's good, but I'm really hoping that I'll be able to take advantage of mod_rewrite to enable a more descriptive permalink structure.

I think the reason you still saw the index.php/ in the URL is that it was leftover from importing the site from the old server.  I do see index.php in the .htaccess file:

# 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

Should I edit or delete the .htaccess to get rid of the index.php reference?  Then try setting month & name permalink again?

Thanks for your help.

Brad

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 21, 2012 - 1:08 am

No, that is a standard .htaccess file... and it just references the index.php file in the wp root directory... nothing to do with permalink...

I can assure you that tens/problem-with-post-edit-buttonundreds of thousands of users are using simple press with custom permalinks and url rewriting...

have you researched pathinfo permalinks?? thats what the use of index.php in the url is called... and you get it without apache/url rewrite...

out of curiosity, have you tried updating your permalinks in wp? assume you dont get the write error message anymore? and have you tried the same custom permalink without the index.php??

do we still have access to your site?

Avatar
Brad Siegfried
Member
sp_UserOfflineSmall Offline
Oct 21, 2012 - 9:39 am

Hi Steve,

Thanks.  I'm learning a lot in this process.

I found that after the import of the database into the new site, there were still references to the old site's URLs and directory paths.

I found a very helpful article on how to move a WordPress site to a new domain here:

http://www.doitwithwp.com/move.....eamlessly/

I'm currently in process of cleaning up the database mess.  I'm sure WordPress and SimplePress will be much happier with a correct database. I'll then update permalinks and integration and let you know what happens.

I'm still learning the ins and outs of WHM and cPanel, but getting there.  You should still have access with the credentials I PMed you earlier.  I suggest you wait for the dust to settle before you access the site.  I'll post back when the database is cleaned up.

Brad

Avatar
Brad Siegfried
Member
sp_UserOfflineSmall Offline
Oct 21, 2012 - 11:07 am

Success!

Database cleaned up, file permissions verified correct, permalink settings set to day and name, updated WP integration in SimplePress.

Life is good in the land of pretty permalinks.

The dust has settled.  Feel free to see the results.

Example forum URL: http://wilmington.crimeboard.o.....unit-182f/

Thanks for your help through this process.  I suspect that the whole problem was tied to either an incorrect path somewhere in the database or insufficient permissions to a correct path.  All is well that ends well, and I believe this has.

Best of all, my make-or-break demo was postponed (not by me) from noon today until Tuesday!  Time to watch some football!

Brad

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Oct 21, 2012 - 11:45 am

All sounds good and positive - including the football!

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625