trickrick
Forum Replies Created
-
Forum: Networking WordPress
In reply to: Pls Help! Caught in a re-direct loopI have resolved this issue myself.
It turns out, I didnt need to mess with any .htaccess folders because I am using a windows server, not apache like wordpress assumes.
If you are following instructions in your tools > network setup and do not see any instructions on editing your .htaccess folder, but rather your web.config folder, I HIGHLY suggest you follow these steps
It gets a little tricky at the end.
If you are editing you’re already existing web.config folder, find the line of code that reads <rule name=”wordpress” patternSyntax=”Wildcard”. Clear some space for new code by pressing enter, then you need to stick this text in between.
<rule name="WordPress Rule 1" stopProcessing="true"> <match url="^index\.php$" ignoreCase="false" /> <action type="None" /> </rule> <rule name="WordPress Rule 2" stopProcessing="true"> <match url="^([_0-9a-zA-Z-]+/)?files/(.+)" ignoreCase="false" /> <action type="Rewrite" url="wp-includes/ms-files.php?file={R:2}" appendQueryString="false" /> </rule> <rule name="WordPress Rule 3" stopProcessing="true"> <match url="^([_0-9a-zA-Z-]+/)?wp-admin$" ignoreCase="false" /> <action type="Redirect" url="{R:1}wp-admin/" redirectType="Permanent" /> </rule> <rule name="WordPress Rule 4" stopProcessing="true"> <match url="^" ignoreCase="false" /> <conditions logicalGrouping="MatchAny"> <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" /> </conditions> <action type="None" /> </rule> <rule name="WordPress Rule 5" stopProcessing="true"> <match url="^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*)" ignoreCase="false" /> <action type="Rewrite" url="{R:2}" /> </rule> <rule name="WordPress Rule 6" stopProcessing="true"> <match url="^([_0-9a-zA-Z-]+/)?(.*\.php)$" ignoreCase="false" /> <action type="Rewrite" url="{R:2}" /> </rule> <rule name="WordPress Rule 7" stopProcessing="true"> <match url="." ignoreCase="false" /> <action type="Rewrite" url="index.php" /> </rule>
It should be between <rule> & <rule name=”wordpress” patternSyntax=”Wildcard” of your ALREADY EXISTING web.config folder text.
If you are sticking the new code found in that link or posted above in the wrong spot, you will receive error messages when you try to go to your login page, until you have it in the right spot.
Forum: Networking WordPress
In reply to: Pls Help! Caught in a re-direct loopIt doesnt really matter. If I would have to change a bunch of stuff to my already existing site, then I would opt for Desvoux.com/blog.
The blog could be my homepage (Desvoux.com) if that makes things easier…
Forum: Networking WordPress
In reply to: Pls Help! Caught in a re-direct loopThanks for the response Mika, ive read almost all your posts/ replies looking for your guidance. Unfortunately I followed your link to a tee and still no cigar.
In my network admin, it has instructions for the network setup which includes this, something ive never seen before anywhere.
Add the following to your web.config file in
D:\InetPub\vhosts\desvoux.com\httpdocs\blog/
, replacing other WordPress rules:<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="WordPress Rule 1" stopProcessing="true"> <match url="^index\.php$" ignoreCase="false" /> <action type="None" /> </rule>'; if ( is_multisite() && get_site_option( 'ms_files_rewriting' ) ) { .= ' <rule name="WordPress Rule for Files" stopProcessing="true"> <match url="^blog/([_0-9a-zA-Z-]+/)?files/(.+)" ignoreCase="false" /> <action type="Rewrite" url="blog/D:\InetPub\vhosts\desvoux.com\httpdocs\blog/wp-includes/ms-files.php?file={R:1}" appendQueryString="false" /> </rule>'; } .= ' <rule name="WordPress Rule 2" stopProcessing="true"> <match url="^blog/([_0-9a-zA-Z-]+/)?wp-admin$" ignoreCase="false" /> <action type="Redirect" url="{R:1}wp-admin/" redirectType="Permanent" /> </rule> <rule name="WordPress Rule 3" stopProcessing="true"> <match url="^" ignoreCase="false" /> <conditions logicalGrouping="MatchAny"> <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" /> </conditions> <action type="None" /> </rule> <rule name="WordPress Rule 4" stopProcessing="true"> <match url="^blog/([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*)" ignoreCase="false" /> <action type="Rewrite" url="blog/D:\InetPub\vhosts\desvoux.com\httpdocs\blog/{R:1}" /> </rule> <rule name="WordPress Rule 5" stopProcessing="true"> <match url="^blog/([_0-9a-zA-Z-]+/)?([_0-9a-zA-Z-]+/)?(.*\.php)$" ignoreCase="false" /> <action type="Rewrite" url="blog/D:\InetPub\vhosts\desvoux.com\httpdocs\blog/{R:2}" /> </rule> <rule name="WordPress Rule 6" stopProcessing="true"> <match url="." ignoreCase="false" /> <action type="Rewrite" url="index.php" /> </rule> </rules> </rewrite> </system.webServer> </configuration>
But doing so gives me a code error, and i cannot access any dashboard until i change it back to this.
<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="wordpress" patternSyntax="Wildcard"> <match url="*"/> <conditions> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/> </conditions> <action type="Rewrite" url="index.php"/> </rule></rules> </rewrite> </system.webServer> </configuration>
Side notes- My main site is Desvoux.com and the blog has been installed on a separate folder on the host under ‘blog’. So when i go to make a new site, the new site is forced to be “Desvoux.com/blog/<insert new name>
Could this be the problem?
I am thinking about doing a complete wipe because it is a new blog and starting over.
Forum: Networking WordPress
In reply to: Too many redirects on new network subdomainI have literally tried every solution and have narrowed down my problem to be with editing the .htaccess file.
First off, I couldnt even find the file, so I made it myself (probably done incorrectly) and inserted some suggested text found in this thread. No luck for me, but a lot of people seemed to have fixed their issue with it.
I am about to try using this plug in, suggested by this thread
Even though it is old, the author says it will still work. I will let you know what happens!
Forum: Networking WordPress
In reply to: Pls Help! Caught in a re-direct loopi added my own .htaccess file to that folder, it is coming up as an apache security file. I still get a re-direct loop when trying to visit the dashboard of the new sites.
I did not deactivate my plugs at all during the install. If this is a problem, when during the process should I do it.
I am using version 3.5
Forum: Networking WordPress
In reply to: Too many redirects on new network subdomainHaving the exact same problem! Incredibly frustrating.
I am still stuck with this problem….I am up to the point where the .htaccess file needs to be edited, however… I CANNOT LOCATE IT. I am using Parallels Panel with host gator.
I am able to make new sites, but when i go to their dashboards, i get a redirect loop.