Error on set Permalink? need help
-
I try to set up my site to make this work with permalink and set this strukture
/archives/%post_id%
but everytime I try this link on my Browser get this errorObject not found!
The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.
If you think this is a server error, please contact the webmaster.
Error 404
nurtria.info
Tue Sep 21 10:27:19 2004
Apache/2.0.49 (Unix) PHP/4.3.7what wrong?? and what shoul I do to fix this error?
-
Hi,
try to erase the last slash of the rewriteBase link in the htaccess.
From:
RewriteBase /yourBlogRoot/
Into:
RewriteBase /yourBlogRoot
It helps me to get the permalinks working.
If you want to edit the htaccess via wp you need chmod of 666 or 766.
HTH
ReneTried that. Didn’t work. 🙁
HI,
if somebody should provide you more help, it would be usefull
to see you htacces code, maybe an link to your wp installation, what Is your wp installation….
provide more info
HTH
Renethis my .htaccess code
RewriteEngine On
RewriteBase /
RewriteRule ^feed/?([_0-9a-z-]+)?/?$ /index.php?feed=_$1 [QSA]
RewriteRule ^comments/feed/?([_0-9a-z-]+)?/?$ /index.php?feed=_$1&withcomments=1 [QSA]
RewriteRule ^page/?([0-9]{1,})/?$ /index.php?paged=$1 [QSA]
RewriteRule ^site/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ /index.php?pagename=$1&feed=$2 [QSA]
RewriteRule ^site/([^/]+)/page/?([0-9]{1,})/?$ /index.php?pagename=$1&paged=$2 [QSA]
RewriteRule ^site/([^/]+)/?$ /index.php?pagename=$1 [QSA]
RewriteRule ^search/(.+)/(feed|rdf|rss|rss2|atom)/?$ /index.php?s=$1&feed=$2 [QSA]
RewriteRule ^search/(.+)/page/?([0-9]{1,})/?$ /index.php?s=$1&paged=$2 [QSA]
RewriteRule ^search/(.+)/?$ /index.php?s=$1 [QSA]
RewriteRule ^archives/category/(.+)/(feed|rdf|rss|rss2|atom)/?$ /index.php?category_name=$1&feed=$2 [QSA]
RewriteRule ^archives/category/(.+)/page/?([0-9]{1,})/?$ /index.php?category_name=$1&paged=$2 [QSA]
RewriteRule ^archives/category/(.+)/?$ /index.php?category_name=$1 [QSA]
RewriteRule ^archives/author/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ /index.php?author_name=$1&feed=$2 [QSA]
RewriteRule ^archives/author/([^/]+)/page/?([0-9]{1,})/?$ /index.php?author_name=$1&paged=$2 [QSA]
RewriteRule ^archives/author/([^/]+)/?$ /index.php?author_name=$1 [QSA]
RewriteRule ^archives/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$ /index.php?year=$1&monthnum=$2&day=$3&feed=$4 [QSA]
RewriteRule ^archives/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/page/?([0-9]{1,})/?$ /index.php?year=$1&monthnum=$2&day=$3&paged=$4 [QSA]
RewriteRule ^archives/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/?$ /index.php?year=$1&monthnum=$2&day=$3 [QSA]
RewriteRule ^archives/([0-9]{4})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$ /index.php?year=$1&monthnum=$2&feed=$3 [QSA]
RewriteRule ^archives/([0-9]{4})/([0-9]{1,2})/page/?([0-9]{1,})/?$ /index.php?year=$1&monthnum=$2&paged=$3 [QSA]
RewriteRule ^archives/([0-9]{4})/([0-9]{1,2})/?$ /index.php?year=$1&monthnum=$2 [QSA]
RewriteRule ^archives/([0-9]{4})/(feed|rdf|rss|rss2|atom)/?$ /index.php?year=$1&feed=$2 [QSA]
RewriteRule ^archives/([0-9]{4})/page/?([0-9]{1,})/?$ /index.php?year=$1&paged=$2 [QSA]
RewriteRule ^archives/([0-9]{4})/?$ /index.php?year=$1 [QSA]
RewriteRule ^archives/([0-9]+)/trackback/?$ /index.php?p=$1&tb=1 [QSA]
RewriteRule ^archives/([0-9]+)/(feed|rdf|rss|rss2|atom)/?$ /index.php?p=$1&feed=$2 [QSA]
RewriteRule ^archives/([0-9]+)/page/?([0-9]{1,})/?$ /index.php?p=$1&paged=$2 [QSA]
RewriteRule ^archives/([0-9]+)/?([0-9]+)?/?$ /index.php?p=$1&page=$2 [QSA]
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^feed/?([_0-9a-z-]+)?/?$ /index.php?feed=_$1 [QSA]
RewriteRule ^comments/feed/?([_0-9a-z-]+)?/?$ /index.php?feed=_$1&withcomments=1 [QSA]
RewriteRule ^page/?([0-9]{1,})/?$ /index.php?paged=$1 [QSA]
RewriteRule ^site/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ /index.php?pagename=$1&feed=$2 [QSA]
RewriteRule ^site/([^/]+)/page/?([0-9]{1,})/?$ /index.php?pagename=$1&paged=$2 [QSA]
RewriteRule ^site/([^/]+)/?$ /index.php?pagename=$1 [QSA]
RewriteRule ^search/(.+)/(feed|rdf|rss|rss2|atom)/?$ /index.php?s=$1&feed=$2 [QSA]
RewriteRule ^search/(.+)/page/?([0-9]{1,})/?$ /index.php?s=$1&paged=$2 [QSA]
RewriteRule ^search/(.+)/?$ /index.php?s=$1 [QSA]
RewriteRule ^archives/category/(.+)/(feed|rdf|rss|rss2|atom)/?$ /index.php?category_name=$1&feed=$2 [QSA]
RewriteRule ^archives/category/(.+)/page/?([0-9]{1,})/?$ /index.php?category_name=$1&paged=$2 [QSA]
RewriteRule ^archives/category/(.+)/?$ /index.php?category_name=$1 [QSA]
RewriteRule ^archives/author/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ /index.php?author_name=$1&feed=$2 [QSA]
RewriteRule ^archives/author/([^/]+)/page/?([0-9]{1,})/?$ /index.php?author_name=$1&paged=$2 [QSA]
RewriteRule ^archives/author/([^/]+)/?$ /index.php?author_name=$1 [QSA]
RewriteRule ^archives/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$ /index.php?year=$1&monthnum=$2&day=$3&feed=$4 [QSA]
RewriteRule ^archives/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/page/?([0-9]{1,})/?$ /index.php?year=$1&monthnum=$2&day=$3&paged=$4 [QSA]
RewriteRule ^archives/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/?$ /index.php?year=$1&monthnum=$2&day=$3 [QSA]
RewriteRule ^archives/([0-9]{4})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$ /index.php?year=$1&monthnum=$2&feed=$3 [QSA]
RewriteRule ^archives/([0-9]{4})/([0-9]{1,2})/page/?([0-9]{1,})/?$ /index.php?year=$1&monthnum=$2&paged=$3 [QSA]
RewriteRule ^archives/([0-9]{4})/([0-9]{1,2})/?$ /index.php?year=$1&monthnum=$2 [QSA]
RewriteRule ^archives/([0-9]{4})/(feed|rdf|rss|rss2|atom)/?$ /index.php?year=$1&feed=$2 [QSA]
RewriteRule ^archives/([0-9]{4})/page/?([0-9]{1,})/?$ /index.php?year=$1&paged=$2 [QSA]
RewriteRule ^archives/([0-9]{4})/?$ /index.php?year=$1 [QSA]
RewriteRule ^archives/([0-9]+)/trackback/?$ /index.php?p=$1&tb=1 [QSA]
RewriteRule ^archives/([0-9]+)/(feed|rdf|rss|rss2|atom)/?$ /index.php?p=$1&feed=$2 [QSA]
RewriteRule ^archives/([0-9]+)/page/?([0-9]{1,})/?$ /index.php?p=$1&paged=$2 [QSA]
RewriteRule ^archives/([0-9]+)/?([0-9]+)?/?$ /index.php?p=$1&page=$2 [QSA]
# END WordPress
Maybe try to ad the year and the month.
HTH
rEneMaybe try to ad the year and the month.
As I understand it, the year and month must be used in the permalink structure, so the OP can’t use the link structure suggested. I may be mistaken though. I tried to use the link structure suggested, but several archive URI’s were broken. I can’t remember if I experienced this using 1.2 mingus or 1.3 alpha.
The topic ‘Error on set Permalink? need help’ is closed to new replies.