Tagged Questions

The most common name of the per-directory settings file for the Apache server. WordPress stores the mod_rewrite configuration for "Pretty Permalinks" here. [url-rewriting] should be used for the WordPress rewrite system in general, [mod-rewrite] when you talk specifically about the Apache module.

learn more… | top users | synonyms (1)

0
votes
0answers
63 views

Redirect from domain.com to subdomain.domain.com

Lets say my site domain is main.com and this is a wordpress site. I have 4 subdomains,say, cat1,cat2,ca3,cat4. Random posts and pages are displayed on main.com.They come into either of 4 categories ie ...
0
votes
0answers
101 views

customize urls displayed by previous_post_link and next_post_link

I am using the below code to display my next and previous links in single.php: <div class="nav-previous"><?php previous_post_link( '%link', '<img height="34" src="' . ...
0
votes
1answer
60 views

How can I set up a completely separate (not multisite) Wordpress installation as a subdirectory of an existing Wordpress blog?

I currently have a Wordpress multisite network running at http://www.mysite.com and rooted in /var/www/html. I need to set up a completely separate, single-site Wordpress installation accessible via ...
0
votes
0answers
38 views

Removed and Reinstalled Wordpress, Redirect Broken now

I just removed and reinstalled wordpress, I think something messed up.. Now when I enter URL, such as "test123.com", nothing load.. The ".htaccess" file on root folder is empty. and content of ...
0
votes
0answers
42 views

Wordpress links/site title won't work

I have one Wordpress installation at www.website.com, and a test site at www.website.com/test. The standard site works fine, but the links on my test site act weird. I use post title as permalink ...
0
votes
1answer
80 views

Redirect Wordpress MS to no-www version, excepting some dirs and prefixes

I have a Wordpress MultiSite, let's say: example.com two.example.com tree.example.com ... xyz.example.com Currently, I'm using this: RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] RewriteRule ^(.*)$ ...
0
votes
0answers
44 views

.htaccess not working in Wordpress

I'm trying to make use of the post name permalink so that visitors can access the page created by the plugin that I'm using. I've already checked phpinfo() and mod_rewrite is listed under the loaded ...
0
votes
1answer
277 views

Selectively Disabling PHP via .htaccess in Root Directory

I'm reading up on securing WordPress and one of the commonly suggested techniques is to use an .htaccess file to disallow PHP execution in wp-content and wp-includes. I then read about another hack ...
0
votes
2answers
551 views

add_rewrite_rule to remove /category/ from permalink

Hi I have many permalinks across my site that looks like this: http://www.mysite.com.com/market/category/slug/slug/slug/ http://www.mysite.com.com/market/category/slug/slug/ and would like to hide ...
1
vote
1answer
329 views

Temp URL Redirect Loop

I am attempting to set up my site using a temp URL (IP/~username/domain) through hostgator, but I am running into some issues. I have gone into the database and replaced all instances of my old domain ...
0
votes
2answers
124 views

Multisite subdirectory blogs missing slash

New WordPress 3.5.2 multisite (subdirectory) install is missing a slash when creating new blogs. WordPress is installed to server like: blogs.domain.com When a new user registers, the ...
0
votes
1answer
80 views

htaccess 301 Redirect not working from aspx to new WP permalink

I'm fairly experienced with htaccess files and Rewrite/Redirect rules, however, this one has me stumped as to why it's not working. NONE of the following lines (used individually, not together) have ...
1
vote
0answers
150 views

Wordpress .htaccess file gives issues with subdirectory

I have a WordPress installation in the root and a subdirectory, which contains a index.html file. This file doesn't give me proper display as what it is supposed to when I access it. But when I ...
1
vote
1answer
704 views

Add .html extension to custom post type taxonomies

I want to have the .html extension in the custom post type taxonomy urls. My custom post type taxonomy it is called "product_cat". I will need something like: ...
2
votes
2answers
153 views

External/non-WP rewrite rule without QSA

I'm trying to add a new external/non-WP rewrite rule to my .htaccess but WP keeps adding [QSA,L] to the end of the rule. How do I prevent the QSA part? This line adds the RewriteRule: ...
0
votes
1answer
69 views

redirect the root of a domain, while leaving the www version unredirected

I have some bad links pointing at abc.com. Wordpress automatically redirects abc.com to www.abc.com. I need to redirect abc.com to a holding page... let's say www.abc.com/holding.html. What is the ...
-1
votes
2answers
192 views

Custom url rewriting

I am struggling to create custom rewrite rules for wordpress. This is my url structure http://domain/cityprofile/?city=Sydney where city profile is a page template. Now i want to make this url ...
1
vote
1answer
364 views

WP Site in subdirectory Joomla! Site - Permalinks not working

I have WordPress in a test folder inside the root directory where I Joomla! 3.x site is running. Somehow the Joomla! rewrite rules are interfering with the WordPress permalinks rules. I keep on ...
0
votes
1answer
488 views

How to rename the WordPress wp-login.php running on IIS6?

My Windows 2003 VPS recently hang due to bots hammering my WordPress login php non-stop for hours (determined from IIS6 logs). This caused MySQL to use up all the allocated 1G RAM. After resetting ...
0
votes
1answer
219 views

Local wordpress install only shows home page, all other pages Not Found

I am working on a local install of a live wordpress site, all links from the main page show Not Found errors. all .htaccess files are all present. The problem is that every page except for the home ...
0
votes
1answer
81 views

How to Deny Access to No Referrer Requests on Multiste with Mapped domains

RewriteEngine On RewriteCond %{REQUEST_METHOD} POST RewriteCond %{REQUEST_URI} .wp-comments-post\.php* RewriteCond %{HTTP_REFERER} !.*yourdomain.com.* [OR] RewriteCond %{HTTP_USER_AGENT} ^$ ...
1
vote
2answers
85 views

Wordpress Rewrite

I'm trying to get http://example.com/site/vendors/?u=abc to rewrite to http://example.com/site/vendors/abc but I can't for the life of me figure out how to get the url rewrites to work. /site/ is the ...
0
votes
1answer
431 views

Permalinks not working

I know, asked and answered a million times. For the life of me I can't find my error. Trying to set up Permalinks to use post name, /%postname%/ Trying to visit anywhere else other than the homepage ...
1
vote
4answers
219 views

How to run multiple websites from single WordPress setup

I want to create a website like visahq.com in WordPress, actually visahq.com has multiple websites like visahq.in for India, visahq.ru(will be shown in Russian) for Russia etc. and each TLD has ...
0
votes
0answers
146 views

Stop wordpress to redirecting home page if no page found

I don't want to redirect to home page when there is no page or wrong url. I have following in httaccess file # BEGIN WordPress RewriteRule ^sitemap.xml sitemap-%{SERVER_NAME}.xml [L] RewriteRule ...
0
votes
1answer
66 views

Having WordPress control only certain pages with .htaccess?

Building a site that we want the home page controlled by it (main page will be the main blog page as well as the site home); it should also control a couple other pages such as the contact us page and ...
1
vote
3answers
248 views

Changing RSS feed URL structure

I am in the process of creating a wordpress website, and I just have one issue left - RSS feeds. Currently, the website has a .htaccess file blocking access to /category/* pages. It was part of a ...
1
vote
2answers
281 views

How to set up htaccess to redirect a particular post type or subdirectory to HTTPS?

I have a post type with the slug 'open-tour', so all its pages are under www.domain.com/open-tour/. I need all the pages under this "directory" to go to HTTPS (for credit card payments). I can ...
1
vote
1answer
277 views

Need help rebuilding lost htaccess file

I originally posted this on Stack Overflow (7 months ago). I didn't receive any answers and was not in a position to pursue it further. As of now I am working on resolving this, and would greatly ...
0
votes
1answer
496 views

.htpasswd asking for authentication on home page

I have Wordpress installed on a subdomain. I added a .htpasswd file to the wp-admin folder. This works as intended on the login page and if I try to cancel or close the pop-up window I get the ...
0
votes
1answer
75 views

Additional .htaccess rules based on wp page

I've created a page in the dashboard called Authors, created a new template-authors.php with completely own logic. It works well, going to website.com/authors/ I see a list of all authors, specifying ...
0
votes
0answers
102 views

Custom Page Template not working when site moved from subfolder

I have been testing and redesigning my site in a subfolder: http://theseattlevine.com/wordpress2013 Today I am launching the site and have followed these instructions ...
0
votes
0answers
230 views

Multisite Subdomain Redirect Mask

I've seen many questions and answers regarding this subject, yet I can't seem to get this to work. Here is my setup. I have my main domain: www.example.com On that domain, I've installed WP ...
0
votes
0answers
92 views

“regular” pages not found after changing permalink

My regular pages with the default theme can not be found, but my frontpage that is a page but it has an other theme works, even my custom post type pages work. In my permalinks settings I have ...
0
votes
0answers
240 views

Empty permalinks settings in .htaccess

Permalinks not working other than set to "Default'. I want to change it to /%postname%.html, and default .htaccess is as follows: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On ...
0
votes
3answers
194 views

Why I can download any file except PHP files from a URL but I can download any from another site?

all, I've been struggling with this for the past two days, I just can't find the answer - sorry if I post this in the wrong site but this is the best option I could think of. I have some problems ...
0
votes
1answer
36 views

How do you put your own rules into .htaccess?

Is it possible to put your own rules in .htaccess but still give WordPress control over 'it's bit'?
0
votes
0answers
41 views

incorrect path of plugin dir on network

I am using wordpress 3.5+ and I use it as network. I read that the plugins I upload are activated for all the sites on that network. So here is the issue. I uploaded a plugin say XYZ. It uploaded ...
0
votes
1answer
34 views

Problem when i configure permalink

When I changed the permalink to /%postname%/ I lost the connection with server... and I need to clean .htaccess to access again... how can i fix it? What do I need to put in .htaccess? My current ...
-1
votes
1answer
241 views

Add segment to URL in htaccess

I want to edit .WordPress .htaccess file, add a segment to URL in the following fashion: Instead of: http://www.example.com/mypost/ make it http://www.example.com/coolstuff/mypost How can I do ...
0
votes
1answer
98 views

Unable to access WP admin

I cannot access admin via: http://xxxxxx.com/admin or http://xxxxxx.com/wp-admin Fatal error: Class 'ObjectModel' not found in ...
0
votes
1answer
332 views

Use two different index pages

This link is pointing to my home directory. I want my users to see ~/home/prototype.php page when they come to my site. To achieve this, I have set following in my .htaccess file of that directory: ...
0
votes
0answers
63 views

htaccess problem not being able to overwrite previous rules

so guys, what i need to do is: whenever someone ask for this url: dev.site.com/noticias/id/tittle-for-the-news ( dev.site.com/noticias/([0-9]+)/([A-Za-z0-9-]+)/ ) it needs to get this: ...
0
votes
1answer
127 views

How to permanent redirect old domain to new one. in case amazon store

How do I permanently redirect this url using .htaccess, so that if anyone views old web page, it redirects to the new one. For example: http://olddomain.com/folder/AmazonASIN.html --> ...
0
votes
0answers
34 views

Wordpress blog not loading articles

I have set up a static website with basic information pages such that all of the static pages fall into one level and in that directory there is directory "blog" which contains a Wordpress 3.5.1 ...
0
votes
0answers
128 views

Content-type return text/plain instead of text/html after login as admin

I have a website at http://blog.rhinoera.com/. Hosted at Webfaction, which uses nginx as reverse proxy to serve php. Everytime I login as administrator, the http header that webserver returns ...
0
votes
1answer
53 views

3 domains, 1 wordpress install, redirecting and changing domains on live site

UPDATED & SIMPLIFIED: I have one Wordpress install at Host #1 with a domain (Domain-A) at Host #2. Domain-A was used for the WP install. I have Domain-B & Domain-C at Host #3. I need ...
1
vote
1answer
325 views

what could cause the htaccess file to be modified?

One of the wordpress sites that I created recently went down with a 500 internal server error. After hours of mind boggling and checking error logs, I found out that the htaccess files present in the ...
0
votes
1answer
445 views

forward domain name to particular page?

I;ve got a doman alias setup for one of my Wordpress sites and i'm trying to forward that particular domain to a page. The 2 domains are - www.alias.com www.actual.com When people use the ...
0
votes
1answer
250 views

.htaccess redirect not properly working [ ?utm_source=]

I have a wordperss blog. This blog has two domain names (example1.com and example2.com). In my situation, example1.com redirected to the example2.com. This redirecting work properly. I saw that ...