Jump to content

teo74

Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by teo74

  1. Ok good to know about the hit counter. I installed Jumplink - works very well and has more features - the perfect tool to migrate from other CMS! Thank you for your contribution and for your help!! -good ProcessWire community-
  2. Thanks again, Mike! Would be interesting to know - for everybody - what do you estimate to be the threshold (amounts of redirects+pageviews) of using modules vs .htaccess file. Also I would appreciate very much your estimation about the time search engines remembers for good the permanent redirects (so it would be safe to remove them after e.g. 1 year)
  3. Perfect! Now works! I have around 90 redirects to do, and the site receives about 360 pageviews per day. The site produces revenue, so I'd like to not lose any speed. For this numbers( 90 and 360) do you think I should stick with .htaccess file or should I use a module? Thank you very much!
  4. Thank you Mike! It works!, although my assets aren't loaded (maybe because my PW installation is under a /test/ directory). I added my rules just before: RewriteRule /providers/provider1 /test/region-provider/region1/providerName1 [R=301,L] # ----------------------------------------------------------------------------------------------- # Pass control to ProcessWire if all the above directives allow us to this point. # For regular VirtualHosts (most installs) # ----------------------------------------------------------------------------------------------- RewriteRule ^(.*)$ index.php?it=$1 [L,QSA] # ----------------------------------------------------------------------------------------------- # 500 NOTE: If using VirtualDocumentRoot: comment out the one above and use this one instead. # ----------------------------------------------------------------------------------------------- # RewriteRule ^(.*)$ /index.php?it=$1 [L,QSA] </IfModule> providers/provider1 does not exist in the ProcessWire page tree, it comes from the old CMS. Finally I tried http://modules.processwire.com/modules/process-redirects/ which works well, but I wanted to learn how to redirect with htaccess, I think is faster.
  5. Hi all, I'm trying to redirect pages like: providers/ provider1 provider2 provider3 provider4 to: region-provider/ region1/ providerName1 providerName4 region2/ providerName2 providerName3 I put on top of ProcessWire's .htaccess file: RewriteEngine On Redirect 301 /providers/provider1 /region-provider/region1/providerName1 Redirect 301 /providers/provider2 /region-provider/region2/providerName2 ...and so on, and it does redirects, but I get: /region-provider/region2/providerName2?it=providers/provider2 which triggers a 404 error. If I delete "?it=providers/provider2" the page is found, so it's ok, but how can I get rid of "?it=[old-path]" ? I'm not sure if the syntax or the position of my redirect rules within ProcessWire' .htaccess file is correct . I also tried to make a phisical directory into web root called "providers" and redirect from there but no success. Please helpp!! Thank you!
  6. Happy birthday @philsturgeon ciderBikeTurtleDbadBenedmundsPhpleagueApisUnicornFartingRainbowOfJoySomebodyIsWrongOnTheInternet-fu*k-sh*t-etc-

  7. Wow, thank you Craig for the fast and good answer! For those like me new to ProcessWire is really important get help when we're stucked. I really appreciate it !! Again, thank you very much !
  8. Hi all, I'm new to ProcessWire. How could I select from a list of pages (from the backend) to create a list of "similar pages"? Maybe InputfieldPageListSelectMultiple.module(?) but I cannot find any information how to use this module. Then store the list (by id?) in some field assigned to the current page to be parsed when the page is rendered and show the similar pages. Thank you!!
  9. Thank you for the stickers, @scotch_io !! Makes me feel a real dev :D

×
×
  • Create New...