Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.
If the asker does not get an answer then they have 10 days to request a refund.
$1
Permalinks postname 404 error
Any idea please? :)
So I was working a little bit and now posts permalinks are working, but I dont know if I save or update post then 404 error will show up again my httaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^product-investigation.com
RewriteRule (.*) http://www.my-site.com/$1 [R=301,L]
RewriteBase /
RewriteRule ^index\.php$ - [L]
# uploaded files
RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule . index.php [L]
<FilesMatch "\.(woff|ico|jpg|jpeg|png|gif|js|css|swf|pdf|flv|mp3)$">
<IfModule mod_expires.c>
ExpiresActive on
ExpiresDefault "access plus 14 days"
Header set Cache-Control "public"
</IfModule>
</FilesMatch>
<FilesMatch "\.(html|htm|xml|txt|xsl)$">
Header set Cache-Control "max-age=7200, must-revalidate"
</FilesMatch>
Chymmi | 02/03/13 at 8:59pm
Edit
Tutorial: How to assign prize money
Previous versions of this question:
02/04/13 at 3:02pm
(4) Responses
See a threaded view of answers?
Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.
-

Last edited:
02/03/13
9:08pmphppoet says:create .htaccess file inside root directory of your site and put this code into it.
# 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
It will work .
-

Last edited:
02/04/13
2:49am -

Last edited:
02/04/13
3:06amKiet Luong says:Hi, If possible please give me login, I will take a look at it to see how this framework does.
Im available on skype: kioluong
Regards ! -

Last edited:
02/03/13
9:29pmChymmi says:It doesnt work :) as I said it works with other templates but not with this :/ - I also tried insert it into my framework htaccess and it doesnt work
/wp-content/themes/directory/AIT - htaccess
so I have two htaccess :/
This question has expired.
Current status of this question: Community pot
Please log in to add additional discourse to this page.
Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.
If the asker does not get an answer then they have 10 days to request a refund.
