paulandrew
Forum Replies Created
-
Forum: Installing WordPress
In reply to: how to migrate from wp.com and keep old page namesOK, there’s one more twist. If I pass a bad page name into index.php, like this:
https://mywebsitename.org/index.php/a-non-existant-pageit gives the page frame but with no content–and the right sidebar is on the left now. looks ragged.
Can you tell me a good way to tell index.php to redirect somewhere else instead of just showing the page frame with no content in it?
thanks.
Forum: Installing WordPress
In reply to: how to migrate from wp.com and keep old page namesalright so I used this method that was listed, with a custom 404 page, and it works like a charm:
https://tech.einaregilsson.com/2007/07/30/pretty-wordpress-permalinks-on-iis/custom 404 page in the root for your wp install:
<?php
$qs = $_SERVER[‘QUERY_STRING’];
$pos = strrpos($qs, ‘://’);
$pos = strpos($qs, ‘/’, $pos + 4);
$_SERVER[‘REQUEST_URI’] = substr($qs, $pos);
$_SERVER[‘PATH_INFO’] = $_SERVER[‘REQUEST_URI’];
include(‘index.php’);
?>paired with the right custom permalink code:
/%year%/%monthnum%/%day%/%postname%/Forum: Installing WordPress
In reply to: how to migrate from wp.com and keep old page namesalright so looks like this is one of the outcomes of switching from WordPress.com to wordpresss.org on a Windows server. c’est la vie.
here’s what the hostmaster at my host said:
“URL Rewriting is not natively supported on Windows Servers as it is in Linux. To have that ability on Windows Servers, you would need to purchase the add-on service called ISAPI_Rewrte from Helicon Tech (https://www.helicontech.com/isapi_rewrite/).”
So I’ll check out the solutions at the link you providing–thank you again for your help.
Forum: Installing WordPress
In reply to: how to migrate from wp.com and keep old page namesyeah it’s a windows server.
when you say in the url of the wp-admin settings, do you mean in tools-permalinks? If so, here’s the pre-set options it gives me:
Default https://mywebsitename.org/?p=123
Day and name https://mywebsitename.org/index.php/2009/08/05/sample-post/
Month and name https://mywebsitename.org/index.php/2009/08/sample-post/
Numeric https://mywebsitename.org/index.php/archives/123Forum: Installing WordPress
In reply to: how to migrate from wp.com and keep old page namesThanks Samboll.
That got me close, but not quite there. I’m realizing that I may be SOL on this?
So when I flip that switch to make my URL’s use the y/m/d like they did on wp.com, the URL’s then look like this:
https://mywebsitename.org/index.php/2009/08/01/whats-on-my-mind/so they look almost like my old one,
https://mywebsitename.wordpress.com/2009/08/01/whats-on-my-mind/but they have the /index.php/ inserted in there.
I tried a few tweaks on the custom structure, such as:
/%year%/%monthnum%/%day%/%postname%/
/?p=%year%/%monthnum%/%day%/%postname%/
/?p=/%year%/%monthnum%/%day%/%postname%/but it they showed errors and didn’t seem to work at all.
Any creative ideas anyone?
thanks,
Paul.
Forum: Installing WordPress
In reply to: Auto upgrade 2.8.2 to 2.8.3 “Installation Failed”I got itchy and ended up doing a hand upgrade and it worked fine. Because it’s a new site, it didn’t take too long. Nice to know I’m not alone though. ??
Forum: Installing WordPress
In reply to: Auto upgrade 2.8.2 to 2.8.3 “Installation Failed”One other thing–I did deactivate all of the plug-ins.