permalinks; help is appreciated.

Status
Not open for further replies.

mattonitto

So not gangster....
Oct 30, 2007
160
3
0
Trying to fix my permalinks. Created 1.htaccess and uploaded to the root directory that I am using. Renamed .htaccess and changed numeric value in file attributes to 666. If I try and use date and name based I get "No input file specified." If I go with just postname I get a 404. Started poking around and found .htacess in wp-admin. Figured the misspelling might have something to do with it. Renamed .htaccess and changed numeric value in file attributes to 666. Still nothing. What do I go after next?

Thanks in advance.
 


changed both .htaccess to 777 still getting 404 for /%postname%/ and "No input file specified." for /index.php/%year%/%monthnum%/%day%/%postname%/
 
wp-admin/.htaccess contains
<IfModule mod_security.c>
SecFilterInheritance Off
</IfModule>
And nothing else

root .htaccess is blank
 
  • Look for $is_apache = strstr($_SERVER['SERVER_SOFTWARE'], 'Apache') ? 1 : 0; and replace it with // $is_apache = strstr($_SERVER['SERVER_SOFTWARE'], 'Apache') ? 1 : 0;
  • Add a new line under // $is_apache = strstr($_SERVER['SERVER_SOFTWARE'], 'Apache') ? 1 : 0; and type in $is_apache = 1;
And now we have-

Parse error
: syntax error, unexpected T_BOOLEAN_OR in /home/projecto/public_html/chuckboobs/wp-includes/vars.php on line 45
 
returned vars.php to original, deleted the .htaccess in wp-admin, and pasted
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress

into blank .htaccess and now we're good to go. Yippi
 
Status
Not open for further replies.