permalinks

dc.js permalink or href to share the visualisation filter state?

你说的曾经没有我的故事 提交于 2019-12-18 12:38:12
问题 I am working on a dataviz with dc.js (http://edouard-legoupil.github.io/3W-Dashboard/) The main limitation is that when users find a specific fact while they explore the data, it is not easy to reproduce the exact filters they used in order to share their findings with other users (and initiate a discussion). A solution could be to have permalinks for each filter state. dc.js has already the "dc.redrawAll();" to reset all filter but is there any capacity to freeze a certain filters state and

Remove index.php from wordpress URLs in iis7

有些话、适合烂在心里 提交于 2019-12-18 04:16:28
问题 I want to remove index.php from url , i am using wordpress and iis7 . how can i do this 回答1: Use this web.config (web.config is the IIS equivalent to .htaccess file in apache webservers. It can be found in the root folder. If there is none, you need to create one.) <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <defaultDocument> <!-- Set the default document --> <files> <remove value="index.php" /> <add value="index.php" /> </files> </defaultDocument> <httpErrors

Custom permalink structure: /%custom-post-type%/%custom-taxonomy%/%post-name%/

会有一股神秘感。 提交于 2019-12-17 22:33:01
问题 I'm trying to create a custom permalink structure that will allow me to accomplish the following. I have a custom post type called "projects" I have a custom taxonomy called "project-category" that is assigned to the CPT "projects" I want my permalink structure to look like this: projects/category/project-name or /%custom-post-type%/%custom-taxonomy%/%post-name%/ I've been able to succesfully use /%category%/ in permalinks for normal, out-of-the-box WP posts, but not for CPTs. How would

Handling SEO Friendly URL with Non-English Characters

我的未来我决定 提交于 2019-12-13 17:30:22
问题 I have URLs like this: .com/topic.php?id=6 I can convert them to this: .com/topic/5.html This works, but now I want to convert .com/topic/title.html The "title" is dynamic, for example çağdaş and can contain non-English characters like Ş or Ğ or Ü In this case, I first convert characters to acceptable equivalents like Ş to S or Ü to U If I convert çağdaş to cagdas then my URL looks like this .com/topic/cagdas.html I have used cagdas in SQL queries to select the proper row, but in the database

When I add custom post type permalink rewrite, my regular post permalinks stop working. Can't get both to work at the same time

萝らか妹 提交于 2019-12-13 13:56:27
问题 really struggling with this one, so any help would be much appreciated. My site has both regular post posts, and a custom post type called "articles." I'm trying to get it to work so that my regular posts will use the /%category%/postname%/ permalink structure, (which I have set up in settings). This is working fine, until I add a custom rewrite for my article post type. I'd like articles to follow a /%issue%/%postname%/ structure. I can get this working great with the following: add_filter(

Redirect all posts on wordpress

半城伤御伤魂 提交于 2019-12-13 06:55:13
问题 I moved my site to a new host but by accident permalink was changed. First i had a /%postname%.html and after moving to new host it got changed to /%postname%/ . I fixed the permalink and is working fine except when Google crawls my website google search results return 404 error pages. I tried every redirect plugin and nothing is working. I want to redirect every post that is http://www.website.com/sample-post/ to http://www.website.com/sample-post.html I can not add every single post because

WP - URL rewrite - custom post type/parent conflict

情到浓时终转凉″ 提交于 2019-12-13 06:49:57
问题 I've been having trouble with this for a day now and can't seem to find a solution (it's probably blatantly obvious I just can't find/see it). I have a custom post type called product where: 'rewrite' => array( 'slug' => 'product' ) So the posts that I create for that post type have the URLs: example.com/product/first-product example.com/product/second-product example.com/product/third-product etc.. I've also got a page created called Product Info that has the URL: example.com/product I'd

How to delete the permalink (landing pages) of image in the media library in Wordpress?

风流意气都作罢 提交于 2019-12-12 17:25:38
问题 I notice every image uploaded on wordpress website will have a separate page(a permalink to the image) like this : https://www.knexusgroup.com/linkedin_logo_v1/ This is not good, how do I remove these page for every image? Every image have already CDN link. I have got hold on images uploaded for blog post using Yost plugin but these images are uploaded to pages & are not attached to the particular page. These images are not looking good on the search result. Please help me how can I remove

Is it possible to make ineffective a character in regex

百般思念 提交于 2019-12-12 03:14:09
问题 I'm trying to write wordpress pretty permalinks regex. I have following urls. I need 2 matches, 1st : last word between / and / before get/ 2nd : string which is start with get/ Url's may be like these http://localhost/akasia/yacht-technical-services/yacht-crew/get/gulets/for/sale/ Here I need "yacht-crew" and "get/gulets/for/sale/" http://localhost/akasia/testimonials/get/motoryachts/for/sale/ here I need "testimonials" and get/motoryachts/for/sale/ http://localhost/akasia/may/be/lots/of

Jekyll Posts Not found

人走茶凉 提交于 2019-12-12 02:07:41
问题 So I setup a Jekyll page, I created a few demo posts, got a navigation between them working and styled it to my liking and then went 'jekyll' in the root. This generated a _site folder in my root. Awesome. But when I open this folder in browser, and try to navigate between posts, it attempts to go to file:///2013/02/01/post-title.html instead of the actual location, which would be file:///blablabla/_site/2013/02/01/post-title.html I've been looking at Permalinks options in the yml-file, but I