Search the Community
Showing results for tags 'urlsegment'.
-
Are URL segments indexable & search engine optimizable? Site-mappable? With or without SEO meta tags rendered in the native site template rendering the URL segment, drawing page data from a separate PW installation? if only rendering when the urlSegment1 matches the name of a page of a specified tem...
- 2 replies
-
- seo
- urlsegment
-
(and 2 more)
Tagged with:
-
How to enable urlSegments runtime instead of persistent in template settings? And where to be loaded before the current page returns a 404 error? https://processwire.com/docs/front-end/how-to-use-url-segments/#how-do-you-enable-url-segments
-
Hello, i have an Photography page based on PW. Now is the Problem that the loading time is to long. Idea was to split every 20 images in to pages for Ajaxloading. I dont know how generate all 20 images a new URLsegment. I just cant get it. Thanks for advice
-
Hello my friends. Today I started working on my recipe website again and it was the turn to show recipes (pages) that has a specific category assigned in a field. In my NowKnow project for categories I used a parent page where inside of it I had the children and everything seemed to be super ea...
- 28 replies
-
- urlsegment
- filter
-
(and 1 more)
Tagged with:
-
Hi, I have a template to which I have assigned an Alternate Template filename. To the respective url I added two urlSegments '../edit/123' . In the url segment list I added : "edit" and "new", config->maxUrlSegments = 2. As long as I only add *one* url segment (edit), it works f...
-
Hi guys, i was trying to implement SEO URL structure on my another processwire website. SEO team requested us to put .html on every pages. e.g http://www.mydomain.com/products.html and if click any product then it will like http://www.mydomain.com/products/product-one.html so after little bit r...
- 6 replies
-
- seo
- urlsegment
-
(and 1 more)
Tagged with:
-
Hi, I'm quite sure to have read everything, doc and forums, about urlSegment, but I'm still not understanding how to use it. After have set my categories with this excellent post, I'm unable to fix url as I want. Page title | Template | actual url...
- 6 replies
-
- url
- urlsegment
-
(and 1 more)
Tagged with:
-
I have a project that uses a variant of the "main.inc" template strategy. All templates are set to use a single "main.php" file. That file uses output buffering to include page-specific views and insert them into a "base" template. Generally, this works great and allows me to structure my files exac...
- 6 replies
-
- main.inc
- urlsegment
-
(and 1 more)
Tagged with:
-
Hello to the community, I'm facing a rather weird issue on my PW site with the pages2pdf module and urlSegments. Maybe one of you will help me figure this out. I have this code : // PDF Download link if (!$input->get['pages2pdf'] && $user->isSuperuser()) { echo '<a class="pdfLink btn bt...
-
Hi friends, Being a tiny bit lazy, I copied the $input->urlSegment[n] code from the description of "Allow URL segments" in the template settings. Up to 3 URL segments are supported after the page URL. These may be any combination of lowercase ASCII letters (a-z), numbers (0-9), dashes and unders...
-
Hi, I have a problem getting pagination working with urlSegments. I read the docs and the forum, and another issue comes up with sort of the same thing. The problem there was that baseUrl got set by options and was left empty, while in the code below, the baseUrl is first set by the module manager...
-
Dear all, Newbie here I've successfully installed the Blog Profile, and trying to modify the recent post widget. I use the $input->urlSegment1 to get the path of URL. But somehow it return nothing. I've checked the site/config.php and enable the Setup->Templates->URLs->Allow URL Segments? but...
-
Hi there, Simple question needs simple answer… I'm still a newby and trying to get my head round pw. I'm trying to access (and eventually get the path) to a particular page somewhere else in the tree, without knowing the complete path, only knowing the name of the page. I'm getting the name of th...
-
Hi, I've just set up urlSegments on my blog template so that /blog/category/news will list all the articles with the category of news My problem is that if (for some strange reason) a blog article gets called "category" then the subsequent pages will show 404s. Previously I had it set up so the...
-
Hi guys, have been having an issue with pagination. It's a bit odd, I have it working fine as per Ryan's docs but when I get to a page2 of results, my categories don't display. I should add that my categories are generated at the top of the page in their own loop. The template also uses urlSegment...
-
Is there a way to echo a URL segment for example to use in the <title> tag? Eg: <title><?php echo $page->title; ?> | <?php echo $input->urlSegment(2); ?></title> The above code was my stab at it but I'm not sure if segments can be called in this way? Sorry, should point out that this is with...