WordPress arabic permalinks - wordpress

I'm creating an arabic blog, using the arabic version of wordpress, but when I set the permalink configuration to use the post name, I get a not found error message with similar text to:
The requested URL /سيبس/ was not found on this server.
Does anybody have any clues ?

and thanks for your support to me :)
I have solved my problem, and what was going wrong is my .htaccess file, when installing an arabic wordpress blog locally, I noticed that it was working very well, so I made a comparaison and I noticed that by local .htaccess has content when the other doesn't.
So what solved my problem is putting the following code in my website .htaccess file:
# 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

Related

Wordpress URL unexpected redirection

My site URL is : http://abcd.com/index.php
I don't understand why, when I am opening :
http://abcd.com/index.php/welcome/ I am redirected to :
http://abcd.com/welcome/
which doesn't exist and displays a 404
My .htaccess is :
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /index.php/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php/index.php [L]
</IfModule>
# END WordPress
What do you think is wrong ?
Regards,
I had used a permalink structure like /index.php/%postname%/
and it was working, but the other formats no.
I made the other permalink format works by changing my config in my virtualhost, adding the default wordpress .htaccess content. restarted apache, my permalinks worked as well as all the other stuff...
10hours of pain

Wordpress pages redirect to main page

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

Blog in magento subdirectory not working without index.php

I have magento hosted on nginx.I have installed wordpress in magento roor directory.
I have my blog url like www.mymagento.com/blog and blog post urls are like www.mymagento.com/blog/page/2/.
The blogpost urls pages are working fine. But when I go to www.mymagento.com/blog.
The page structure is messed up.
If I enable Use Web Server Rewrites to no in magento admin, everything workes well.
This is www.mymagento.com dummy url.
How can I fix this issue please help.
Add following code in .htaccess of www.mymagento.com/blog, clean browser history and try again:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /shop/index.php [L]
</IfModule>
Hope that will help you!

How can I back .htaccess on my wordpress?

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.

Wordpress 3.3.1 url parameters not working

This was working in wordpress 3.3 but when i upgraded didn't work.
Whenever I type url http://www.sitename.org/?email=John , wordpress automatically removes paramter and makes it http://www.sitename.org/
Due to this some of the plugins are also not working.
Does anyone know if this is wordpress 3.3.1 fix or I have to do something in settings sections? or write in .htaccess file. I read about %{QUERY_STRING} as GET parameters but could not understand, sorry I am just trying to figure out.
My .htaccess file contents
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
Thanks,
Solved. I don't know but when my friend disabled SEO plugin things started working.
Still I have not clue of what happened.
Anyways working for now.
Thank you.

Resources