[wp-trac] [WordPress Trac] #7200: Wrong url when page navigation
WordPress Trac
wp-trac at lists.automattic.com
Sat Jun 28 18:05:34 GMT 2008
#7200: Wrong url when page navigation
-----------------------+----------------------------------------------------
Reporter: a.verdeja | Owner: anonymous
Type: defect | Status: new
Priority: high | Milestone: 2.7
Component: General | Version:
Severity: major | Keywords: navigation, static frontpage
-----------------------+----------------------------------------------------
When you have the following configuration
- Static frontgpage
- "Pretty permalinks
and click on previous entries, the url will be
http://mydomain.com/blog/page/2/, but it should be
http://mydomain.com/page/2/
This can be corrected with the following code in the .htaccess file:
RedirectMatch /blog/page/(.*)$ http://mydomain.com/page/$1/
The problem is then that you cann't have a paginated -static- front page
--
Ticket URL: <http://trac.wordpress.org/ticket/7200>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list