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
1answer
27 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
25 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
21 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
10 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
26 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
17 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
26 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
21 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
40 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
14 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
74 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
7 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
28 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
17 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
10 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
12 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
37 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
20 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
22 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
26 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
32 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
22 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
16 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
20 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
15 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
11 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
40 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
7 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
34 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
53 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
47 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
40 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
31 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
37 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
31 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 ...
0
votes
1answer
67 views

Scrape a webpage for image and add it to post

I was wondering if there was a way to scrape an external webpage for its first/best image and add it to a new post in Wordpress. This seems like it would not be too complicated, but I can't seem to ...
0
votes
0answers
37 views

Anchor Links URL

i have the theme "Moesia" and anchor links in the navigation. I can't see the anchor like #home or #about me in the adress bar of the browser. There is only the clean url (www.adress.com) without the ...
0
votes
0answers
23 views

404 suggests posts instead of showing custom 404 when the url is not home

I have a custom 404 witch works well when you write the url like www.site.com/randomCrapAbC but when there is post-type or category in the slug, wordpress tries to suggest post in that category ...
0
votes
0answers
19 views

Building URLs with Custom Post Type

Here is my current dilemna. I have created two custom post types, Verticals and Products. The Products information is fed into the Verticals and there is an interior nav with anchor links that ...
0
votes
0answers
20 views

how to add prefix to post url structor only

I need to add "item/" prefix to post url only I went to Settings -> Permalinks and set this : /item/%postname%/ and for category and tag set this: category tag But other post_type and ...
0
votes
1answer
49 views

How to reference a theme image in a stylesheet?

I have a global element as part of my theme and I need to reference and image as a background image. I need the URL to the image. I assume that it's bad practice to hard-code the URL and that the URL ...
0
votes
1answer
66 views

Scrape external webpage for first image and add it to new post

I'm looking for a way to scrape an external page for its first/best/largest image and insert a copy of that image as the featured image of a new post on my Wordpress site. The way that I was hoping ...
0
votes
1answer
119 views

Callback URL in WordPress

I want to use this service OnWebChange to monitor when a website changes and change mine accordingly. It would notify me via a URL callback to my website URL with a HTTP POST method. What ...
0
votes
0answers
51 views

How to scrape data from a URL and put it into a post

I'm looking for a way to allow users of my site to enter a URL into a form field and have it scrape that URL for a <title>, <description>, and the first image on the page, of which it will ...
0
votes
1answer
22 views

Imported posts using wrong domain name

So a little background. I have my WordPress development site backed up on a remote git repository. I added a ignore file to ignore specific files so that if the repository is cloned the site has to be ...
0
votes
0answers
56 views

Custom post type with parent page? Possible?

I'm having trouble getting my url structure the way I want. I have a page with two sections: private company Let's take private as an example. In this area, I wan't to have a url structure like ...
0
votes
0answers
31 views

Make custom post url accept anything after the event slug - for use as url parameters

I want to parse url parameters to my custom page code within a custom post type by simply appending folder values to the end of the valid custom post type. So instead of: www.test.com/tests/post1/ ...