Michael Pratt
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Dynamic Pretty Links (htaccess)Ok, of course once I post a question I get it figured out.
For starters I was thinking about this wrong on a couple of fronts.
1. I thought when I put the info in the .htaccess file, that when I hit refresh it would change it. Of course this is backwards thinking. Instead this allows me to have “nice links” to link to and display.
As far as I can tell….I can use both links and they still work.
2. Since I already have permalinks on….therefor having a link like …http://racingnewsdigest.com/results/ ….. I can’t tell the rewrite to look for /results/ …. It gets changed to /results/ later in the .htaccess file with WP (if I am thinking about all that correctly).
So, I had to use the actual page (or post #). ?page_id=12345
So, my rewrite rule that is working now looks like….
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^Race_Results/([^/]*)/([^/]*)/([^/]*)$ /?page_id=12345&series=$1&year=$2&race=$3 [L]and then the WP stuff under it.
This is currently working.
http://racingnewsdigest.com/results/?series=cup&year=2011&race=14can now be displayed like
http://racingnewsdigest.com/Race_Results/cup/2011/5 and works.
I will probably play with the structure a little. Not sure for ‘google” purposes if it matters if I have .html on the end or not.
Oh well, this is how I got it working…hope it helps some others.
Forum: Fixing WordPress
In reply to: MySQL error (): 9 in several placesFIXED
I don’t know why.
I THINK I KNOW HOW. What I did was change hosting providers and this started. I basically zipped up my whole subdomain on the old server and unzipped it on it’s own domain on the new server.
In that process I had DE-activated my Sitemap pluggin.
Tonight I got my site – http://racingnewsdigest.com – all corrected (links and things to reflect having it’s own domain, database…ect).
After that I reactivated the Sitemap pluggin even though I knew I was getting this error.
That fixed my problem.
PLEASE – If someone can explain this to me….I am all ears.
It seams like I have had other problems with other sites with that pluggin deactived. I could be wrong.
Forum: Fixing WordPress
In reply to: MySQL error (): 9 in several placesI am having the same the same problem and can not figure out why.
I am not understanding what it is telling me.
The difference with mine is it says Warning: mysql_error(): 8.
Any help at least pointing me in the right direction would be VERY helpful.
Thank you,
Mike