I need help with Permalink in Wordpress 3.7.1.
The website is this: http://estudiomusical.com.br/
When I set at permalink config page: /%postname%/
Pages doesn't load, 404 page appears.
I was developing this website at a windows server ... and the file web.config to fix this issue.
I have now .htaccess with this code inside:
# 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
Can anyone help me?
I need to get the pages with the correct names to work some functions.. for example jQuery UI Tabs assigned with advanced custom fields.
Thanks!
Related
I had wordpress site with permalink based on post name.
I had to recreate the entire server. The tables data is same.
Now, the pages will not be recognized if i keep permalink to post name. if I change to permalink to plan (http://www.imtftrade.com/?p=123), it works.
How do I fix this problem?
Check .htaccess file in your root directory:
# 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
Also, go to “Settings” > “Permalinks” > “Common settings”, and set the radio button to “Custom Structure”. Use templates below that field to set up links path. Don't forget to press the Save button.
Let me know if it helped! Good luck
Please sometimes all pages are blank pages in my website only the home page and the admin side IDK why but when i refresh the permalinks setting it works.
any one can help me to resolve this problem please
This is usually an issue in the .htaccess from when you have setup your permalinks.
if you are using the postname for your permalinks make sure this code is at the top of the .htaccess.
# 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
I'm a noob with wordpress and I'm creating a website with it. The thing is I've changed the permalinks to be the name of the entry/page. I've created 2 pages so far, and when I view my website and click on the links to those pages, the url does change to wordpress/page1 or wordpress/page2, but the page shown is always the main page.
I'm working with wamp for windows, so I've been doing some research. This is what I've found so far:
My .htaccess is like this:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wordpress/index.php [L]
</IfModule>
# END WordPress
I've also changed the mod_rewrite inside apache httpd.conf removing the # and I've saved changes in permalinks. Nothing is working.
I guess you have to make a change in your .htaccess file from:
RewriteBase /
to the following:
RewriteBase /wordpress/
Fixed.
It was not recognizing my single.php
Unfortunately I deleted .htaccess page from my wordpress. Now if I click on any post or category it show page could not found. What should I do now? How can I solve it?
Any body have any idea?
I would start by creating a temporary .htaccess following the default WordPress model available at their website which looks like this:
# 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
Then you will need to check the pages and everything to see what is still not working and fix it.
If your blog is on a different folder or configured differently the above may need to be changed depending on that.
For example folder structure, etc.
I am setting up a website inside a wordpress installation folder.
So it's like:
http://mysite.com/newsite/
Primarily, http://mysite.com is a wordpress installation, now I want to set up another site*(not a wordpress website)* on that directory which is newsite,
So basically it looks like this mysite/newsite/
When I go to that link, it changes the URL and leads me to a page of mysite page. I think maybe because of the .htaccess of the wordpress installation.
How can I access on my newly setup website without being redirecting me to http://mysite.com page?
PS:
Wordpress .htaccess configuration:
# 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
Your help will be appreciated!