A uniform resource locator, abbreviated URL, also known as web address, is a specific character string that constitutes a reference to a resource.

learn more… | top users | synonyms (1)

0
votes
0answers
8 views

Wordpress keeps giving me the wrong permalink

Permalink: http://www.ccdalink.com/team_member/rf-johnson/ is the name of the permalink But after I exit and save changes. Another team_member's page and picture show up in place, and I only ...
0
votes
0answers
9 views

Rewrite url without flushing the database?

Is it possible to create a rewrite in WP dynamically such that no flushing is needed? i.e. not storing the rewrite in the database? Only defined in my plugin code?
0
votes
0answers
10 views

remove current page from url in main menu

I am trying to develop a theme for my company. The website is a one-page-website although it has 3 seperate pages for disclaimer etc. The problem I'm facing is as follows. The main menu has url's ...
0
votes
0answers
11 views

WooCommerce change category url and product base

I want to display the url's like this: for Category: /webshop/categories/hoodies/ for products: /webshop/categories/hoodies/test-product how is this possible without giving me 404 not found ...
0
votes
1answer
21 views

how to get attached file url for current post?

Trying to get the attachment file url for current post, using this code: if ( is_singular('post') ) { $args = array( 'post_type' => 'attachment', 'posts_per_page' => -1, 'post_status' => ...
0
votes
0answers
6 views

Custom Post Type Url with Custom Fields

I have basically the same issue as in this question: Using Custom Fields in Custom Post Type URL But can't seem to make this working for me. What I have: A custom post type called 'hebergements' ...
0
votes
1answer
18 views

How to list all images used on a specific page?

How do I list all the image(s) used on a specific WordPress page. I would like it to include the following if possible, Url to image Name of image Url to thumbnail of the image [Edit] I would like ...
0
votes
1answer
30 views

Using ACF Custom Field value in a URL with do_shortcode() [on hold]

I am using the ACF custom fields and video.js plugins and I want to add the custom field value inside the url for the youtube video that is inside of do_shortcode() So far this is what I've come up ...
0
votes
1answer
32 views

WordPress Subcategory Creates 2 urls for same page (serious issue)

All subcategories in WordPress create 2 urls to same page. domain.com/parentcat/childcat/ domain.com/childcat/ both urls go to the same page. in the eyes of Google this is duplicate content. it ...
0
votes
2answers
28 views

Custom post type URL

I have a page called "News", and I have created a custom post type for news. In "News" page I need to show all news custom posts and they need to be clickable. "News" page url is ...
0
votes
0answers
25 views

Dynamically generated breadcrumb functions for category.php

BACKGROUND: I want to create a template page (using template.php) for news articles. News articles fall into about 7 different categories (Local, Special Events, Tech, etc). The template will use ...
0
votes
0answers
11 views

Custom Permalinks with Post Meta Value , other pages return only homepage error

I have a directory site, so i created a post type name "ads" and their post title are phone numbers, but i want the permalinks instead of mysite.com/ads/post_title i want it ...
0
votes
1answer
29 views

structure of posts and pages

I have wordpress website which had some static pages and posts. I want to show pages URL as below: mywebsite.com/PageName1 mywebsite.com/PageName2 ... also I have some posts that will be more in ...
0
votes
1answer
50 views

How to pass a PHP $_GET variable and fetch/output it?

I've already looked at the Wordpress Codex, and looked around for other solutions online, but i still can't seem to get it working. Basicly what i need is to pass a GET variable in an URL, and output ...
0
votes
0answers
25 views

How to change post template via url?

I have a single post template (single.php) which displays the title, the abstract, tags, content etc. I made another template (abstract.php) to display only the title and the abstract of the post. ...
0
votes
1answer
13 views

cannot link a external url, present page url acting as parent url

please help some one cannot link a external link, my present page link is acting as parent link, if iam linking facebook.com , then my page url opens as www.mysite.com/facebook.com please solve it. ...
0
votes
1answer
27 views

Instead of using $post, how do i get the thumbnail image of the $post

Instead of using $post, how do i get the thumbnail image of the $post I tried using: $post->link $post->ID $post->pw_link_target $post->image_link $post ->image_id ...
0
votes
0answers
22 views

Two same URL domain

I have a problem with my wordpress . I just migrate to a new install only the post and categories . But now entering a link or search the CSS BASE URL for example doubles A href attribute URL : ...
0
votes
0answers
27 views

Unable to perform simple URL rewrite

I've been trying to get url rewrites to work, but I don't seem to be getting anywhere with them. I've checked that AllowOverride All is set in httpd.conf, I've made sure that rewrite rules are ...
0
votes
0answers
30 views

hook wp_get_attachment_image_src

I am using wp pods custom fields for custom post types.. I am holding image links in custom fields. With a hook to "post_thumbnail_html" i fixed thumbnails but when i need wp_get_attachment_image_src ...
0
votes
1answer
52 views

How can I extract the URL of a link from a post?

I am pretty new in WordPress and I have the following doubt. I have a page that take some informations from a list of post that belong to a specific category and show these informations into ...
0
votes
0answers
16 views

How to control the the URL of a Custom Post Type to have multiple slugs?

I currently have a custom post type whose rewrite rule is this: 'rewrite' => array( 'slug' => 'tests', 'with_front'=> false ), So the URL is www.domain.com/tests/post-name ...
0
votes
1answer
76 views

Include language variable in url

I have been developing a language plugin for wordpress which works completely. The only thing that is missing now is the url-rewriting. I have been looking at a lot of websites, sources and other ...
0
votes
0answers
9 views

bbPress — remove default login, put on front page

I have 2 questions regarding bbPress: 1) Is it possible to remove the default login system altogether (and only have social login). 2) Is it possible to put it in the front page (www.website.com) ...
0
votes
1answer
34 views

How to rewrite URL and get the values?

I created a shortcode by add_shortcode. where the shortcode placed in a wordpress page to display dynamic content. The dynamic content is based on the URL value. Example If URL is ...
0
votes
0answers
21 views

Custom URL Rewriting by Year, Custom post type and Custom taxonomy

I am trying to create a custom rewrite url, but is not so clear for me unfortunately... So my problem is: I have a Media-Resources custom post type and Media Type custom taxonomy. This taxonomy is ...
0
votes
0answers
11 views

How to retrieve a post by inputing the url in a custom field and displaying it on an options page

If have an options page where I have a custom text field and I want to paste a url of a post in that custom field and retrieve the Post Title and Excerpt and display theme above the custom field and ...
0
votes
0answers
16 views

Export CSV path in custom plugin

I create a plugin called project, which not using custom post type. I created a separate table for it. function menu() { add_menu_page('Project', 'Project', 'administrator', 'project', ...
1
vote
1answer
41 views

Subdomains with almost the same content

I have to create a website for a client. This client sells different products, and wants to enhance their view. The best way I thought about was to create subdomains, for example product1.domain.com, ...
0
votes
0answers
21 views

problem getting audio url

I have a custom loop that should be getting 6 posts but it's only returning 4. There are 6 in the category $args = array( 'category_name' => 'audio', 'posts_per_page' => -1 ); $audio = new ...
0
votes
1answer
32 views

Custom slug in front of search URL

I'll try explain this the best I can... I have a search form on my homepage: <form role="search" method="get" id="searchform" class="form" action="<?php echo esc_url( home_url( '/' ) ); ...
0
votes
1answer
36 views

extract url from a hyperlinked string in PHP [closed]

I need a function to extract the link (url) from a hyperlinked text in PHP. For example i get it a string and it returns me the link or url. Thanks before for your answers...
0
votes
1answer
36 views

How to add multiple custom URL variables?

I am building a Wordpress plugin that looks for different custom variables in the URL. The way I am able to achieve that right now is with this code: function add_custom_query_var( $vars){ ...
0
votes
0answers
32 views

Getting gallery and image detail URL in Photo Gallery plugin

I am migrating photo galleries from old gallery system to Photo gallery plugin. Because I need to make a HTTP 301 redirection from original URL (gallery and photo detail) to new URL in Photo Gallery ...
0
votes
0answers
19 views

Uploaded files URL broken since server change

I moved my wordpress website from my old server to my new. Everything works, except that every uploaded files (PDFs for example) with accents (é,à, and so on) in the file name got their URL broken. So ...
0
votes
0answers
22 views

How can I achieve this site/url structure

Can anyone help me achieve the following. I have two custom post types, 'stores' and 'offers'. stores contain 'stores' one level deep. e.g. site.com/stores/store1 site.com/stores/store2 I then ...
0
votes
0answers
21 views

Wordpress URL Encoding For “&” Sign

Basically i am using brands filtering for posts. brands are custom field in the post. How to work with URL encoding in wordpress ? i tried with urlencode and also rawurlencode but not helpful. This ...
0
votes
0answers
13 views

How to add Wordpress Username in the url of the button clicked

Sir i am new to wordpress but developed my website somehow, now i am facing a issue as my website is a cashback site so i need to change url for every logged in user so that i can track the sale made ...
0
votes
0answers
45 views

Remove one part from the Permalink automatically

I have a bit of a messed up situation. The client wanted to have static landing pages like website.com/state/city but also create custom post types like restaurant. So I setup regular pages with the ...
0
votes
0answers
8 views

web.com/post/post-title redirects to web.com/post-title

I'm having a complain of the SEO guy because a post url is not like this web.com/post/post-title But like this web.com/post-title And even web.com/post/post-title redirects to web.com/post-title ...
0
votes
1answer
41 views

Issue on Getting Images URL of the Post Gallery

I am trying to get the URL of the attached galley into the post on custom page layout called Gallery Page. I tried to use the code from Codex at This Page (get post gallery images). but I am not ...
0
votes
0answers
40 views

Generating a URL with no content for captcha

I modified my regular form to ajax form. I have captcha simple_php_captcha in my form which is generating captcha. I need to chage it's image if the user request it to change. I am thinking to ...
1
vote
0answers
17 views

Host frontpage via example.com and everything else via example.com/blog

I've assigned a page as frontpage which will be available via example.com. All the other pages should be below the /blog. For example: Main-page: example.com All posts: example.com/blog Single Blog ...
0
votes
1answer
60 views

Change homepage url

is there any way how to achieve this? I've tried to google it, but I have no clue how to call it. siteurl.com - for whole web siteurl.com/news - homepage with news When I add siteurl.com I have to ...
-1
votes
1answer
49 views

Post as frontpage - avoid duplicate content

On one of my WP sites I display a single post on the homepage. It's hard coded in the index.php like: If is home then show post with ID X But now I have the post's content on the homepage but ...
0
votes
0answers
46 views

Change wordpress blog post permalink structure

My blog post URL consits of Website Name % Year % Month % Post Name. If i update any post, it does take the new Date as the post URL. Is there a way so that i can change the Permalink structure ...
0
votes
0answers
15 views

Custom URL Structure for posts with subcategories

I have a website with the following structure in Posts: 14k-gold-silver - Symphony - Noir 14k-gold-diamond -forever classic -bridal Now I added some itemes to each of the sub categories ...
0
votes
0answers
34 views

Missing post title from permalink

All my sites' post don't have post name/title in their url. I imported thousands of posts into my site in "draft" status. To publish them I used SQL command in phpmyadmin to change status to publish. ...
0
votes
1answer
44 views

Is it possible to change image urls by hooks?

I have moved my uploads directory to another server. For example, a url that was pointing to: http://example.com/wp-content/uploads/2015/05/image.jpg should point to here in the new situation: ...
0
votes
0answers
36 views

Custom post type clean url

I'm trying to create clean url's for my custom post type, but I can't seem to figure out how to make this work. First I followed the Wordpress codex using publicly_queryable and query_var in my ...