I just imported my blog from Wordpress to BlogEngine.NET. Pretty much everything came over correctly. The only missing piece now is figuring out how to change the URLS for all the posts.
I was able to get the date in the URL like I had in WP but that leaves me with 2 problems. There is still the preceding "/post/" as in http://localhost/post/2010/07/11/MyPost.aspx and also the aspx extension.
Is there a way to remove the /post and the requiremenet for the aspx extension? I'd like to be able to maintain my permalink structure that I had on Wordpress.
The structure I have on WP is
http://domain.com/2010/07/10/MyPost/
Removing the aspx extension should be possible on the latest version.
The /post prefix is still hard-coded, you'll have to customize the code to get rid of it.
Related
I'm facing this weird issue on my WordPress site. I'm using SEOPress for my SEO stuff and generate an error saying
https://www.sitename.com/blog/xyzpath/e,baseURI
But if I remove the e,baseURI everything works fine. Mostly this happens in my blog pages and my permalinks structure looks like
/%category%/%postname%/
I don't know where it comes from and don't know how to get rid of this.
I've had my WordPress site for about a decade now, and originally I never set any custom settings for permalinks, so my permalinks are all of the form /?p=123.
I'd like to start using permalinks that incorporate the post name in the URL. It looks easy enough to change this. It's my understanding that WordPress will likely update all my permalinks internally, but there exist a lot of external links to my site that point to existing permalinks, and I don't want those to stop working.
Will WordPress keep supporting visits to old plain-style permalinks if I change the setting? It seems like it should be able to since it's just using a URL query param and the other permalink styles use the URL's path, but I don't want to assume it does and be wrong.
And if this is not the case, is there a straightforward way I can set up the redirects? I have hundreds of posts and it would be tedious to make a manual redirect for each one.
Update: yes, the plain style permalinks keep working after you set another structure for your permalinks. They will redirect.
Okay so my problem is that, I am currently working on a website which is already been created using wordpress. My problem is that when you see the website page, there is all the data and everything is present. But when I come to the backend of the page in wordpress its not showing any content at all. I mean its like there has never been the data at all in this page. Its so confusing. Please answer me this. And kindly remember that I am not a good coder so anything that is related to coding please ellaborate it with examples.
I 've fixed it.
The problem is in charset of db.
Open wp-config.php file and just change charset to utf8 & comment the old one.
define('DB_CHARSET', 'utf8');
Thanks
Like the other commenters mentioned, you can also insert content into pages on Wordpress with pages on custom themes.
Remember to back up your site before you make any changes.
Try to change your theme by going to 'Appearance->Themes' in the Wordpress admin window and activating a new theme. Head to the page in question and see if the content is still there. If it isn't, it's being added in a custom theme, which is probably what's happening.
If that's all you need to know, you're all set - otherwise, you can use this process to find what's creating the content:
Go to your Wordpress installation directory (you'll know you're there when you see folders like 'wp-admin' and 'wp-content'), then go to 'wp-content->themes' and see what themes you have installed. You can dig around in the php files there to find the content being created. You'll need to play around with PHP if you want to learn more from there.
maybe anybody know why wordpress generate link like this: portfolio/all/#.UHSbFy5mJIk
I make bold the permalink strange place
I have no changes in wordpress core
I'm going to assume you have a sharing plugin enabled that is appending the extra stuff to your URL. This is tracking data to let you know how your links are being shared.
I don't know why I am having difficulties finding an answer for this, but I was. I am hoping it's quick and painless.
This is my first attempt at a WordPress site. I created a number of pages which reside in a standard navigation. Currently the nav links look like such:
?page_id=2
I want link to be friendly such as:
/restaurant/
I went into the permalinks and tried messing around with the options and I got the URLs to change but on click I get a 404. What am I doing wrong?
two things i could think of
Wordpress can't write the .htaccess file (a warning should be displayed on the permalink page). In that case update it by hand with code shown on the site.
mod_rewrite is disabled on your server http://httpd.apache.org/docs/current/mod/mod_rewrite.html